@Override
    public void delete(Long key) {
        long startNanos = Timer.nanos();
        try {
            delegate.delete(key);
        } finally {
            deleteProbe.recordValue(Timer.nanosElapsed(startNanos));
        }
    }
@Test
    public void delete() {
        Long key = 1L;

        queueStore.delete(key);

        verify(delegate).delete(key);
        assertProbeCalledOnce("delete");
    }