@Override
    public StoreBuilder<VersionedKeyValueStore<K, V>> withCachingEnabled() {
        throw new IllegalStateException("Versioned stores do not support caching");
    }
@Test
    public void shouldThrowWhenCachingEnabled() {
        setUpWithoutInner();
        assertThrows(IllegalStateException.class, () -> builder.withCachingEnabled());
    }