> @@ -31,4 +41,31 @@
> public BaseSoftLayerClientLiveTest() {
> this.provider = "softlayer";
> }
> +
> + public void checkProductItem(ProductItem item) {
> + assertTrue(item.getId() > 0, "item id must be more than 0");
> + assertNotNull(item.getDescription(), "item description must be not
> null");
> + checkCategories(item.getCategories());
> + // units and capacity may be null
> + assertTrue(item.getPrices().size() >= 0);
Use `!...isEmpty()` or `assertFalse(...isEmpty()`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/77/files#r7000520