> + }
> +
> + @Test
> + public void testDelete() throws InterruptedException {
> + server.enqueue(
> + new MockResponse().setBody("")
> + );
> +
> + imageApi().deleteImage("some-id");
> + assertEquals(server.getRequestCount(), 1);
> + assertSent(server, "DELETE", "/images/some-id");
> + }
> +
> + private ImageApi imageApi() {
> + return api.imageApi();
> + }
> In this case, @nacx might've meant, the missing tests for the methods with
> DepthOptions param, like for getList and getImage.
That's also right. **Every** method needs a mock test.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/242/files#r54411270