@Override
    public long read() {
        return gaugeSource.read();
    }
@Test
    public void whenProbeRegisteredAfterGauge() {
        LongGauge gauge = metricsRegistry.newLongGauge("foo.longField");

        SomeObject someObject = new SomeObject();
        metricsRegistry.registerStaticMetrics(someObject, "foo");

        assertEquals(someObject.longField, gauge.read());
    }