public CounterProducer(MetricsEndpoint endpoint) {
        super(endpoint);
    }
@Test
    public void testCounterProducer() {
        assertThat(producer.getEndpoint().equals(endpoint), is(true));
    }