class MockPersistentStorage implements PersistentStorage {

  @Override
  public byte[] getItem(SimpleParamTypes table, URI key) {
    byte[] item = storage.get(table).get(key);
    if (item != null) {
      item = Arrays.copyOf(item, item.length);
    }
    return item;
  }

  public  MockPersistentStorage();

}