> +
> + DigitalOceanApi api = api(server.getUrl("/"));
> + DropletApi dropletApi = api.getDropletApi();
> +
> + try {
> + int event = dropletApi.shutdown(1);
> +
> + assertRequestHasCommonFields(server.takeRequest(),
> "/droplets/1/shutdown");
> + assertTrue(event > 0);
> + } finally {
> + api.close();
> + server.shutdown();
> + }
> + }
> +
> + public void testShutdownUnexistingDroplet() throws Exception {
"Unexisting" -> "Nonexistent"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/49/files#r9166583