@Test
public void openValidInput() {

    // Missing port.
    DefaultDockerClient.newInstance(createConfig(URI.create("tcp://127.0.0.1"), false)).close();
    DefaultDockerClient.newInstance(createConfig(URI.create("tcp://127.0.0.1"), true)).close();
    DefaultDockerClient.newInstance(createConfig(URI.create("tcp://127.0.0.1:2375"), false)).close();
}