> +         api.close();
> +         server.shutdown();
> +      }
> +   }
> +
> +   public void testRebootUnexistingDroplet() throws Exception {
> +      MockWebServer server = mockWebServer();
> +      server.enqueue(new MockResponse().setResponseCode(404));
> +
> +      DigitalOceanApi api = api(server.getUrl("/"));
> +      DropletApi dropletApi = api.getDropletApi();
> +
> +      try {
> +         try {
> +            dropletApi.reboot(1);
> +            fail("Transfer image should fail on 404");

"Reboot should fail.."?

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

Reply via email to