> @@ -75,4 +78,20 @@ public void testKeywordStatic() {
> ListUsageRecordsOptions options = keyword("bob");
> assertEquals(ImmutableSet.of("bob"),
> options.buildQueryParameters().get("keyword"));
> }
> +
> + public void testTypeStatic() {
> + ListUsageRecordsOptions options = type("3");
> + assertEquals(ImmutableSet.of("3"),
> options.buildQueryParameters().get("type"));
> + }
> +
> + public void testPageStatic() {
> + ListUsageRecordsOptions options = page("1");
> + assertEquals(ImmutableSet.of("1"),
> options.buildQueryParameters().get("page"));
> + }
> +
> + public void testPageSizeStatic() {
> + ListUsageRecordsOptions options = pageSize("500");
> + assertEquals(ImmutableSet.of("500"),
> options.buildQueryParameters().get("pagesize"));
> + }
@e-do @demobox The TestNG assertions are backwards here :
`assertEquals(actual, expected)` instead of `assertEquals(expected, actual)`
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/124/files#r13088706