> +           checkPrice(price);
> +       }
> +   }
> +
> +    public void checkCategories(Set<ProductItemCategory> categories) {
> +       for (ProductItemCategory category : categories) {
> +           assert category.getId() > 0 : category;
> +           assert category.getName() != null : category;
> +           assert category.getCategoryCode() != null : category;
> +       }
> +   }
> +
> +    public void checkPrice(ProductItemPrice price) {
> +       assert price.getId() > 0 : price;
> +       assert price.getItemId() > 0 : price;
> +       assert price.getRecurringFee() != null || 
> price.getHourlyRecurringFee() != null : price;

Please use TestNG [asserts](http://testng.org/javadoc/org/testng/Assert.html) 
in these tests.

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

Reply via email to