@Test(dependsOnMethods = "connect", expectedExceptions = SocketTimeoutException.class)
public void setTimeout() throws IOException {
Connection conn = createConnection();
conn.setTimeout(1);
conn.connect();
}
@Test
public void getInputStream() throws IOException {
Assert.assertNotNull(connection.getInputStream());