partialLineBuffer.addData(data, 0, data.length);
assertEquals(2, partialLineBuffer.getLines().size());
assertEquals("Test3: ", partialLineBuffer.getPartialLine(false));
assertEquals("Test1", partialLineBuffer.readLine());
assertEquals("Test2", partialLineBuffer.readLine());
assertNull(partialLineBuffer.readLine());
assertEquals("Test3: ", partialLineBuffer.getPartialLine());
assertNull(partialLineBuffer.getPartialLine());