protected void rereadAndCheck(OFVendorActionFactory factory, OFActionVendor action) {
ChannelBuffer buf= ChannelBuffers.buffer(action.getLengthU());
action.writeTo(buf);
OFActionVendor readAction = factory.readFrom(buf);
assertBeansEqual(action, readAction);
}