62636465666768697071
} } void setUp(File f) { try { it = new FileLineIterator(f); } catch (Exception e) { throw new RuntimeException(e); } }
261262263264265266267268269270
assertNull(it.next()); } public void testNextUponLastLineReturnsNullSmallFileSmallBuffer() throws Exception { it = new FileLineIterator(small); it.setBufferSize(1); it.last(); assertNull(it.next()); }