@Test
public void testNextLine() {

  FileReader reader = new FileReader(FILE);
  assertThat(reader.nextLine()).isEqualTo("first line");
  assertThat(reader.nextLine()).isEqualTo("second line");
  assertThat(reader.nextLine()).isEqualTo("third line");
  assertThat(reader.nextLine()).isEqualTo("first line");
}