@Override
    public double read() {
        return gaugeSource.read();
    }
@Test
    public void whenProbeRegisteredAfterGauge() {
        DoubleGauge gauge = metricsRegistry.newDoubleGauge("foo.doubleField");

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

        assertEquals(someObject.doubleField, gauge.read(), 10E-6);
    }