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 = BasicFactory.getInstance();
ChannelBuffer oferrorBuf =
ChannelBuffers.wrappedBuffer(oferrorRaw);
List<OFMessage> msg = factory.parseMessage(oferrorBuf);
TestCase.assertNotNull(msg);
TestCase.assertEquals(msg.size(), 1);
TestCase.assertEquals(76, msg.get(0).getLengthU());
ChannelBuffer out = ChannelBuffers.dynamicBuffer();
msg.get(0).writeTo(out);