> +//      assertSent(server, "PATCH", requestUrl + "/jcloudstest" + version, 
> "{\"tags\":{}}");
> +//   }
> +
> +   public void testDeleteResourceGroup() throws InterruptedException {
> +      server.enqueue(response202());
> +
> +      api.getResourceGroupApi(subscriptionid).delete("jcloudstest");
> +
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "DELETE", requestUrl + "/jcloudstest" + version);
> +   }
> +
> +   public void testDeleteResourceGroupReturns404() throws 
> InterruptedException {
> +      server.enqueue(response404());
> +
> +      api.getResourceGroupApi(subscriptionid).delete("jcloudstest");

Assert the returned value too

---
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-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57579980

Reply via email to