// ----------------------------------------------------- Test read
public void testBasicDecodingFile() throws Exception {
ReadableByteChannel channel = new ReadableByteChannelMockup(
new String[] {"stuff;", "more stuff"}, "US-ASCII");
SessionInputBuffer inbuf = new SessionInputBuffer(1024, 256);
LengthDelimitedDecoder decoder = new LengthDelimitedDecoder(channel, inbuf, 16);
File tmpFile = File.createTempFile("testFile", ".txt");
FileChannel fchannel = new FileOutputStream(tmpFile).getChannel();