andreaturli commented on this pull request.


> +
+   public void testList() {
+      final AtomicInteger found = new AtomicInteger(0);
+      
assertTrue(Iterables.all(api().list(Regions.EU_CENTRAL_1.getName()).concat(), 
new Predicate<VPC>() {
+         @Override
+         public boolean apply(VPC input) {
+            found.incrementAndGet();
+            return !isNullOrEmpty(input.id());
+         }
+      }), "All vpcs must have at least the 'id' field populated");
+      assertTrue(found.get() > 0, "Expected some vpc to be returned");
+   }
+
+   private VPCApi api() {
+      return api.vpcApi();
+   }

added missing

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/443#discussion_r211981335

Reply via email to