> +      assertSent(server, "DELETE", 
> "/projects/party/regions/someregion/subnetworks/jclouds-test");
> +   }
> +
> +   public void list() throws Exception {
> +      server.enqueue(jsonResponse("/subnetwork_list.json"));
> +
> +      assertEquals(subnetworkApi().list().next(), new 
> ParseSubnetworkListTest().expected(url("/projects")));
> +      assertSent(server, "GET", 
> "/projects/party/regions/someregion/subnetworks");
> +   }
> +
> +   public void list_empty() throws Exception {
> +      server.enqueue(jsonResponse("/list_empty.json"));
> +
> +      assertFalse(subnetworkApi().list().hasNext());
> +      assertSent(server, "GET", 
> "/projects/party/regions/someregion/subnetworks");
> +   }

Add mock tests for the `listPage` methods.

-- 
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/pull/1006/files/0c51ed39650e9cab341136716a9d9732c63f7dd0#r78043614

Reply via email to