@Test
 public void testHasNextRecordForEmptyFile() throws Exception {
   flatFileRecordReader.close();
   flatFileRecordReader = new FlatFileRecordReader(emptyDataSource);
   flatFileRecordReader.open();
   assertThat(flatFileRecordReader.hasNextRecord()).isFalse();
 }
 @Test
 public void testHasNextRecord() throws Exception {
   assertThat(flatFileRecordReader.hasNextRecord()).isTrue();
 }