@Test
public void hasGaugesForGcCountsAndElapsedTimes() throws Exception {

    assertThat(metrics.getMetrics().keySet())
            .containsOnly(PS_OLDGEN_TIME, PS_OLDGEN_COUNT, PS_OLDGEN_TIME_DELTA, PS_OLDGEN_COUNT_DELTA);
}