@Test
public void toList() throws Exception {

  BatchLineReader reader = create(TEXT_COMBINED);
  List<Line> stringList = reader.toLineList();
  assertEquals(11, stringList.size());
  assertEquals("Test\r", stringList.get(0).toString());
  assertEquals("Test2\r\n", stringList.get(1).toString());
  assertEquals("Test3\n", stringList.get(2).toString());
  assertEquals("Test4\r", stringList.get(3).toString());
  assertEquals("\r", stringList.get(4).toString());
  assertEquals("\r\n", stringList.get(5).toString());
  assertEquals("\r\n", stringList.get(6).toString());
  assertEquals("Test5\n", stringList.get(7).toString());
  assertEquals("Test6\r\n", stringList.get(8).toString());
  assertEquals("Test7\n", stringList.get(9).toString());
  assertEquals("\n", stringList.get(10).toString());
  reader.close();
}