@Test
public void includesGaugesForDirectAndMappedPools() {

    assertThat(buffers.getMetrics().keySet())
            .containsOnly("direct.count",
                    "mapped.used",
                    "mapped.capacity",
                    "direct.capacity",
                    "mapped.count",
                    "direct.used");
}