> +      assertEquals(status, JobStatus.DONE);
> +
> +      assertTrue(uri.toString().contains("api-version"));
> +      assertTrue(uri.toString().contains("operationresults"));
> +   }
> +
> +   public void testDeleteResourceGroupReturns404() throws 
> InterruptedException {
> +      server.enqueue(response404());
> +
> +      URI uri = api.getResourceGroupApi().delete("jcloudstest");
> +      assertNull(uri);
> +      assertEquals(server.getRequestCount(), 1);
> +      assertSent(server, "DELETE", requestUrl + "/jcloudstest" + version);
> +   }
> +
> +}

Add also a MockTest class for the JobApi.

---
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/8d7d68bf33361d7f5df68c7e7232b03116ed6977#r58624416

Reply via email to