@Override
    public int getFailures() {
        return failures;
    }
@Test
    public void measuresFailures() throws IOException {
        try (Graphite graphite = new Graphite(address, socketFactory)) {
            assertThat(graphite.getFailures()).isZero();
        }
    }