0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00 };
OFMessageFactory factory = new BasicFactory();
ByteBuffer oferrorBuf = ByteBuffer.wrap(oferrorRaw);
List<OFMessage> msgs = factory.parseMessages(oferrorBuf,
oferrorRaw.length);
TestCase.assertEquals(1, msgs.size());
OFMessage msg = msgs.get(0);
TestCase.assertEquals(76, msg.getLengthU());
ByteBuffer out = ByteBuffer.allocate(1024);