@Test
public void reportsGaugeValuesAtError() throws Exception {

    when(logger.isErrorEnabled(marker)).thenReturn(true);
    errorReporter.report(map("gauge", gauge("value")),
            this.<Counter>map(),
            this.<Histogram>map(),
            this.<Meter>map(),
            this.<Timer>map());
    verify(logger).error(marker, "type={}, name={}, value={}", new Object[]{"GAUGE", "gauge", "value"});
}