diff --git a/src/test/java/com/spotify/docker/client/DefaultDockerClientUnitTest.java b/src/test/java/com/spotify/docker/client/DefaultDockerClientUnitTest.java index c6229a8e7..cf36071a9 100644 --- a/src/test/java/com/spotify/docker/client/DefaultDockerClientUnitTest.java +++ b/src/test/java/com/spotify/docker/client/DefaultDockerClientUnitTest.java @@ -43,7 +43,6 @@ import com.google.common.collect.Lists; import com.google.common.io.BaseEncoding; import com.google.common.io.Resources; -import com.spotify.docker.FixtureUtil; import com.spotify.docker.client.auth.RegistryAuthSupplier; import com.spotify.docker.client.exceptions.DockerCertificateException; import com.spotify.docker.client.exceptions.DockerException; @@ -53,9 +52,9 @@ import com.spotify.docker.client.messages.HostConfig; import com.spotify.docker.client.messages.RegistryAuth; import com.spotify.docker.client.messages.RegistryConfigs; -import com.spotify.docker.client.messages.swarm.EngineConfig; import com.spotify.docker.client.messages.ServiceCreateResponse; import com.spotify.docker.client.messages.swarm.ContainerSpec; +import com.spotify.docker.client.messages.swarm.EngineConfig; import com.spotify.docker.client.messages.swarm.Node; import com.spotify.docker.client.messages.swarm.NodeDescription; import com.spotify.docker.client.messages.swarm.NodeInfo; @@ -340,10 +339,8 @@ public void testInspectNode() throws Exception { enqueueServerApiVersion("1.28"); enqueueServerApiResponse(200, "fixtures/1.28/nodeInfo.json"); - final + final NodeInfo nodeInfo = dockerClient.inspectNode("24ifsmvkjbyhk"); - - NodeInfo nodeInfo = dockerClient.inspectNode("24ifsmvkjbyhk"); assertThat(nodeInfo, notNullValue()); assertThat(nodeInfo.id(), is("24ifsmvkjbyhk")); assertThat(nodeInfo.status(), notNullValue());