> +
> +    @Test
> +    public void testListWithOption() throws InterruptedException {
> +        server.enqueue(
> +                new 
> MockResponse().setBody(stringFromResource("/server/list.options-query-test.json"))
> +        );
> +        GenericQueryOptions options = new GenericQueryOptions();
> +        options.options(0, 0, null, "test", null);
> +        List<Server> servers = serverApi().getList(options);
> +
> +        assertNotNull(servers);
> +        assertEquals(servers.size(), 9);
> +
> +        assertEquals(server.getRequestCount(), 1);
> +        assertSent(server, "GET", "/servers?q=test");
> +    }

Added test for fallback in the list with options method.

---
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/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68671179

Reply via email to