@Test
public void reportsCounterValues() throws Exception {

    final Counter counter = mock(Counter.class);
    when(counter.getCount()).thenReturn(100L);
    reporter.report(this.<Gauge>map(),
            map("test.counter", counter),
            this.<Histogram>map(),
            this.<Meter>map(),
            this.<Timer>map());
    Assertions.assertThat(fileContents("test.counter.csv"))
            .isEqualTo(csv(
                    "t,count",
                    "19910191,100"
            ));
}