BaseDockerClientFacade implements DockerClientFacade { @Override public final void close() { client.close(); } BaseDockerClientFacade(DockerClient client); @Nonnull @Override final Optional<DockerDaemonOS> getDaemonOS(); @Override final void close();  }
@Test public void close() { DockerClientFacade facade = createFacade(dockerClient); assertThat(dockerClient.isClosed()).isFalse(); facade.close(); assertThat(dockerClient.isClosed()).isTrue(); facade.close(); }