> +      assertSent(server, "PATCH", 
> "/rest/datacenters/datacenter-id/volumes/some-id", "{\"name\": 
> \"apache-volume\"}");
> +   }
> +   
> +   @Test
> +   public void testDelete() throws InterruptedException {
> +      server.enqueue(
> +         new MockResponse().setBody("")
> +      );
> +      
> +      volumeApi().deleteVolume("datacenter-id", "some-id");
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "DELETE", 
> "/datacenters/datacenter-id/volumes/some-id");
> +   }
> +   
> +   @Test
> +   public void testDeleteWith404() throws InterruptedException {

Same as above

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

Reply via email to