@Test
public void includesAGaugeForMappedCount() throws Exception {

    final Gauge gauge = (Gauge) buffers.getMetrics().get(MAPPED_COUNT);
    when(mBeanServer.getAttribute(mapped, "Count")).thenReturn(100);
    assertThat(gauge.getValue())
            .isEqualTo(100);
}