@Override
    public Set<Long> loadAllKeys() {
        long startNanos = Timer.nanos();
        try {
            return delegate.loadAllKeys();
        } finally {
            loadAllKeysProbe.recordValue(Timer.nanosElapsed(startNanos));
        }
    }
@Test
    public void loadAllKeys() {
        Set<Long> keys = Set.of(1L, 2L);

        when(delegate.loadAllKeys()).thenReturn(keys);

        Set<Long> result = queueStore.loadAllKeys();

        assertEquals(keys, result);
        assertProbeCalledOnce("loadAllKeys");
    }