@Override
    public MetricType getType() {
        return MetricType.GAUGE_BOOLEAN;
    }
@Test
    public void set() {
        BooleanGauge gauge = new BooleanGauge("bar");
        assertThat(gauge.getValue()).isNull();
        gauge.set(true);
        assertThat(gauge.getValue()).isTrue();
        gauge.set(false);
        assertThat(gauge.getValue()).isFalse();
        assertThat(gauge.getType()).isEqualTo(MetricType.GAUGE_BOOLEAN);
        assertThat(gauge.getValue()).isFalse();
    }