@Test
    void testAreValueEqual_twoDifferentFastInfosetValues() {
        final ByteBuffer valBuff1 = ByteBuffer.allocateDirect(20);
        valBuff1.put("value1".getBytes());
        valBuff1.flip();
        final ByteBuffer valBuff2 = ByteBuffer.allocateDirect(20);
        valBuff2.put("value2".getBytes());
        valBuff2.flip();
        final FastInfosetValue val1 = FastInfosetValue.wrap(valBuff1);
        final FastInfosetValue val2 = FastInfosetValue.wrap(valBuff2);
        doAreValuesEqualAssert(
                val1,
                val2,
                false);
    }
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