@Test
public void hasAGaugeForEachThreadState() throws Exception {

    clock.addSeconds(61);
    assertThat(((Gauge) gauges.getMetrics().get(NEW_COUNT)).getValue())
            .isEqualTo(1);
    assertThat(((Gauge) gauges.getMetrics().get(RUNNABLE_COUNT)).getValue())
            .isEqualTo(1);
    assertThat(((Gauge) gauges.getMetrics().get(BLOCKED_COUNT)).getValue())
            .isEqualTo(1);
    assertThat(((Gauge) gauges.getMetrics().get(WAITING_COUNT)).getValue())
            .isEqualTo(1);
    assertThat(((Gauge) gauges.getMetrics().get(TIMED_WAITING_COUNT)).getValue())
            .isEqualTo(1);
    assertThat(((Gauge) gauges.getMetrics().get(TERMINATED_COUNT)).getValue())
            .isEqualTo(1);
}