### Question:
OF10FeaturesRequestMessageFactory implements OFDeserializer<GetFeaturesInput> { @Override public GetFeaturesInput deserialize(ByteBuf rawMessage) { GetFeaturesInputBuilder builder = new GetFeaturesInputBuilder(); builder.setVersion((short) EncodeConstants.OF10_VERSION_ID); builder.setXid(rawMessage.readUnsignedInt()); return builder.build(); }  @Override GetFeaturesInput deserialize(ByteBuf rawMessage);  }### Answer:
@Test public void test() { ByteBuf bb = BufferHelper.buildBuffer(); GetFeaturesInput deserializedMessage = BufferHelper.deserialize(factory, bb); BufferHelper.checkHeaderV10(deserializedMessage); }