> @@ -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"));
> +    }

The options stuff also looks OK, but are they supposed to be used anywhere, 
e.g. in building request? Or is that all happening automagically? Should we be 
extending an *ExpectTest to see how these get added to an HTTP request?

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

Reply via email to