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

Hi @mirza-spc ! You're right, there's no need to test for 404 fallbacks. :)

In this case, @nacx might've meant, the tests for the methods with 
`DepthOptions` param, like for getList and getImage.

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

Reply via email to