@Test
    void testSimple() throws IOException {
        final RecordReader recordReader = createTest("line1\nline2\nline3", null);
        assertThat(recordReader.readRecord()).isEqualTo("line1");
        assertThat(recordReader.readRecord()).isEqualTo("line2");
        assertThat(recordReader.readRecord()).isEqualTo("line3");
        assertThat(recordReader.readRecord()).isNull();
    }
Test that we can chunk up a input stream into records.
stroom-pipeline/src/test/java/stroom/pipeline/xml/converter/TestRecordReader.java