protected <K, V> void deleteValues(final AbstractLmdbDb<K, V> lmdbDb,
                                       final Collection<Entry<K, V>> data) {
        lmdbDb.getLmdbEnvironment()
                .doWithWriteTxn(writeTxn -> {
                    data.forEach(entry -> {
                        lmdbDb.delete(writeTxn, entry.getKey());
                    });
                });
    }
Useful for comparing the behaviour of two different envs
stroom-lmdb/src/test/java/stroom/lmdb/AbstractDualEnvLmdbTest.java