@Test
  public void twoStoresAreIndependent() throws Exception {
    try (final KeyValueStorage store1 = createStore()) {
      try (final KeyValueStorage store2 = createStore()) {

        final KeyValueStorageTransaction tx = store1.startTransaction();
        final byte[] key = bytesFromHexString("0001");
        final byte[] value = bytesFromHexString("0FFF");

        tx.put(key, value);
        tx.commit();

        final Optional<byte[]> result = store2.get(key);
        assertThat(result).isEmpty();
      }
    }
  }
Two stores are independent.

@throws Exception the exception
testutil/src/main/java/org/hyperledger/besu/kvstore/AbstractKeyValueStorageTest.java