> +               .resource(SubscriptionResource.IP)
> +               .endTime(new 
> SimpleDateFormatDateService().iso8601SecondsDateParse("2013-12-27T12:00:00+00:00"))
> +               .build()
> +            , new CalcSubscription.Builder()
> +            .resource(SubscriptionResource.VLAN)
> +            .endTime(new 
> SimpleDateFormatDateService().iso8601SecondsDateParse("2013-12-27T12:00:00+00:00"))
> +            .build()
> +            , new CalcSubscription.Builder()
> +            .resource(SubscriptionResource.VLAN)
> +            .endTime(new 
> SimpleDateFormatDateService().iso8601SecondsDateParse("2013-12-27T12:00:00+00:00"))
> +            .build()
> +      ));
> +
> +      assertNotNull(subscriptionCalculator);
> +      for (CalcSubscription subscription : 
> subscriptionCalculator.getSubscriptions()) {
> +         assertNotNull(subscription);

Assert also that, at least, the `price` field has the expected value? Just to 
make sure deserialization works as expected (and to give a bit more meaning to 
the test).

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/41/files#r7969984

Reply via email to