@Test
public void connectsToGraphiteWithInetSocketAddress() throws Exception {

    graphite = new Graphite(address, socketFactory);
    graphite.connect();
    verify(socketFactory).createSocket(address.getAddress(), address.getPort());
}