@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();
}