public void testInterruptData() throws Exception
{
LargeMessageControllerImpl readBuffer = splitBuffer(3, new byte[] { 0, 1, 2, 3, 4 });
byte bytes[] = new byte[30];
readBuffer.readBytes(bytes, 0, 5);
for (byte i = 0; i < 5; i++)
{
Assert.assertEquals(i, bytes[i]);
}