@Test
public void createClient() {

    TestFactory clientFactory = createTestFactory();
    DockerClientConfig config = new DockerClientConfig(TestDockerClient.TEST_CLIENT_URI,
            DockerCloudUtils.DOCKER_API_TARGET_VERSION);
    TestDockerClient client = (TestDockerClient) clientFactory.createClient(config);
    assertThat(client.getApiVersion()).isEqualTo(DockerCloudUtils.DOCKER_API_TARGET_VERSION);
}