> + + " \"method\": \"SOFTWARE\"\n"
> + + "}"
> + );
> + }
> +
> + @Test
> + public void testDeleteServer() throws InterruptedException {
> + server.enqueue(
> + new
> MockResponse().setBody(stringFromResource("/server/delete.json"))
> + );
> + Server response = serverApi().delete("serverId");
> +
> + assertNotNull(response);
> + assertEquals(server.getRequestCount(), 1);
> + assertSent(server, "DELETE", "/servers/serverId");
> + }
Add missing mock tests (specially the fallback ones).
---
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/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68671288