@Test
    void testUnixMultiLineFormat1() throws IOException {
        final RecordReader recordReader = createTest("----\nline1\nline2\n----\nline3\n----\n", "----\n");
        assertThat(recordReader.readRecord()).isEqualTo("line1\nline2\n");
        assertThat(recordReader.readRecord()).isEqualTo("line3\n");
        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