RocksDBMetadataTable { public void remove(final byte[] key) { try { db.singleDelete(key); } catch (final RocksDBException e) { LOGGER.warn("Unable to delete metadata", e); } } RocksDBMetadataTable(
      final RocksDB db,
      final boolean requiresTimestamp,
      final boolean visibilityEnabled,
      final boolean compactOnWrite); void remove(final byte[] key); void add(final GeoWaveMetadata value); void compact(); CloseableIterator<GeoWaveMetadata> iterator(final byte[] primaryId); CloseableIterator<GeoWaveMetadata> iterator(
      final byte[] primaryId,
      final byte[] secondaryId); CloseableIterator<GeoWaveMetadata> iterator(); void put(final byte[] key, final byte[] value); void flush(); void close();  }
@Test public void testRemove() throws RocksDBException { final RocksDB db = Mockito.mock(RocksDB.class); final RocksDBMetadataTable metadataTable = new RocksDBMetadataTable(db, false, true, false); final byte[] keyToRemove = new byte[] {1, 2, 3}; metadataTable.remove(keyToRemove); Mockito.verify(db).singleDelete(keyToRemove); }