@Test
public void reportsCounterValues() throws Exception {

    final Counter counter = mock(Counter.class);
    when(counter.getCount()).thenReturn(100L);
    when(logger.isInfoEnabled(marker)).thenReturn(true);
    infoReporter.report(this.<Gauge>map(),
            map("test.counter", counter),
            this.<Histogram>map(),
            this.<Meter>map(),
            this.<Timer>map());
    verify(logger).info(marker, "type={}, name={}, count={}", new Object[]{"COUNTER", "prefix.test.counter", 100L});
}