> +
> +   @Test
> +   public void testDettachCdrom() throws InterruptedException {
> +      server.enqueue(response204());
> +      
> +      serverApi().detachCdrom("datacenter-id", "server-id", "image-id");
> +      
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "DELETE", 
> "/datacenters/datacenter-id/servers/server-id/cdroms/image-id");
> +   }
> +      
> +   
> +   private ServerApi serverApi() {
> +      return api.serverApi();
> +   }
> +   

Still missing tests for the `getVolume` operation.

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

Reply via email to