@Override
    public byte[] delete(final Bytes key, final long timestamp) {
        final byte[] oldValue = inner.delete(key, timestamp);
        log(key, null, timestamp);
        return oldValue;
    }
@Test
    public void shouldNotLogOnDeleteIfInnerStoreThrows() {
        final Bytes rawKey = Bytes.wrap(rawBytes("k"));
        assertThrows(UnsupportedOperationException.class, () -> inner.delete(rawKey));

        assertThrows(UnsupportedOperationException.class, () -> store.delete(rawKey));
        assertThat(collector.collected().size(), equalTo(0));
    }