Assert.assertEquals("stuff; more stuff; a lot more stuff!", readFromFile(this.tmpfile));
}
@Test
public void testDecodingFileWithOffsetAndBufferedSessionData() throws Exception {
ReadableByteChannel channel = new ReadableByteChannelMock(
new String[] {"stuff; ", "more stuff; ", "a lot more stuff!"}, "US-ASCII");
SessionInputBuffer inbuf = new SessionInputBufferImpl(1024, 256, Consts.ASCII);
HttpTransportMetricsImpl metrics = new HttpTransportMetricsImpl();
LengthDelimitedDecoder decoder = new LengthDelimitedDecoder(