> +
> +         Rules rules = 
> api.listRules(PaginationOptions.Builder.limit(2).marker("abcdefg"));
> +
> +         /*
> +          * Check request
> +          */
> +         assertAuthentication(server);
> +         assertRequest(server.takeRequest(), "GET", 
> "/v2.0/security-group-rules?limit=2&marker=abcdefg");
> +
> +         /*
> +          * Check response
> +          */
> +         assertNotNull(rules);
> +         assertEquals(rules.size(), 4);
> +         assertEquals(rules.first().get().getId(), 
> "3c0e45ff-adaf-4124-b083-bf390e5482ff");
> +         assertEquals(rules.get(3).getId(), 
> "f7d45c89-008e-4bab-88ad-d6811724c51c");

Any reason for (seemingly) "randomly" checking only the first and the last one 
here?

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

Reply via email to