@NotNull
        private static StagingValue copyValue(final StagingValue value) {
            assertThat(value.getFullByteBuffer().position()).isEqualTo(0);
            assertThat(value.getValueBuffer().position()).isEqualTo(0);
            StagingValue valueCopy = value.copy(
                    () -> ByteBuffer.allocateDirect(value.size()));
            assertThat(valueCopy.getFullByteBuffer().position()).isEqualTo(0);
            assertThat(valueCopy.getValueBuffer().position()).isEqualTo(0);
            return valueCopy;
        }
Consume the fastInfosetValue using the various classes used in ref data lookup
stroom-pipeline/src/test/java/stroom/pipeline/refdata/TestReferenceDataFilter.java