@Test
public void shouldConnectToGraphiteServer() throws Exception {

    graphite.connect();
    verify(connectionFactory, atMost(1)).newConnection();
    verify(connection, atMost(1)).createChannel();
}