> +
> + public void testKillContainer() throws Exception {
> + MockWebServer server = mockWebServer();
> + server.enqueue(new MockResponse().setResponseCode(204));
> + DockerApi dockerApi = api(server.getUrl("/"));
> + ContainerApi api = dockerApi.getContainerApi();
> + try {
> + api.kill("1");
> + assertRequestHasCommonFields(server.takeRequest(), "POST",
> "/containers/1/kill");
> + } finally {
> + dockerApi.close();
> + server.shutdown();
> + }
> + }
> +
> + public void testKillNonExistingContainer() throws Exception {
please go through and delete any test like this that isn't on a method you
declared a fallback on.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/113/files#r20875422