> +   }
> +
> +    public void checkCategories(Set<ProductItemCategory> categories) {
> +       for (ProductItemCategory category : categories) {
> +          assertTrue(category.getId() > 0, "category id must be more than 
> 0");
> +          assertNotNull(category.getName(), "category name must be not 
> null");
> +          assertNotNull(category.getCategoryCode(), "category code must be 
> not null");
> +       }
> +   }
> +
> +    public void checkPrice(ProductItemPrice price) {
> +        assertTrue(price.getId() > 0, "price id must be more than 0");
> +        assertTrue(price.getItemId() > 0, "price itemId must be more than 
> 0");
> +        assertTrue(price.getRecurringFee() != null || 
> price.getHourlyRecurringFee() != null,
> +                "price.getRecurringFee() must be not null OR 
> price.getHourlyRecurringFee() must be not null");
> +   }

Bad indenting here

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

Reply via email to