@Test
public void hasASetOfGauges() throws Exception {

    assertThat(gauges.getMetrics().keySet())
            .containsOnly(
                    HEAP_INIT,
                    HEAP_COMMITTED,
                    HEAP_USED,
                    HEAP_USAGE,
                    HEAP_MAX,
                    NON_HEAP_INIT,
                    NON_HEAP_COMMITTED,
                    NON_HEAP_USED,
                    NON_HEAP_USAGE,
                    NON_HEAP_MAX,
                    TOTAL_INIT,
                    TOTAL_COMMITTED,
                    TOTAL_USED,
                    TOTAL_MAX,
                    BIG_POOL.resolve("init"),
                    BIG_POOL.resolve("committed"),
                    BIG_POOL.resolve("used"),
                    BIG_POOL.resolve("usage"),
                    BIG_POOL.resolve("max"),
                    // skip in non-collected pools - "pools.Big-Pool.used_after_gc",
                    WEIRD_POOL.resolve("init"),
                    WEIRD_POOL.resolve("committed"),
                    WEIRD_POOL.resolve("used"),
                    WEIRD_POOL.resolve("used_after_gc"),
                    WEIRD_POOL.resolve("usage"),
                    WEIRD_POOL.resolve("max"));
}