@Test
    void testAreValueEqual_notFound() {
        StringValue value2 = StringValue.of("value2");
        ValueStoreKey unknownValueStoreKey = new ValueStoreKey(123, (short) 0);
        ByteBuffer unknownValueStoreKeyBuffer = valueStoreDb.getPooledKeyBuffer().getByteBuffer();
        valueStoreDb.serializeKey(unknownValueStoreKeyBuffer, unknownValueStoreKey);

        final StagingValue stagingValue = convert(value2);
        lmdbEnv.doWithWriteTxn(writeTxn -> {
            boolean areValuesEqual = valueStoreDb.areValuesEqual(writeTxn, unknownValueStoreKeyBuffer, stagingValue);
            assertThat(areValuesEqual).isFalse();
        });
    }
Generate a list (of size desiredRecords) of strings that all share the same hashcode
Adapted from https://gist.github.com/vaskoz/5703423
stroom-pipeline/src/test/java/stroom/pipeline/refdata/store/offheapstore/databases/TestValueStoreDb.java