### Question:
GetConfigInputMessageFactory implements OFSerializer<GetConfigInput> { @Override public void serialize(GetConfigInput message, ByteBuf outBuffer) { ByteBufUtils.writeOFHeader(MESSAGE_TYPE, message, outBuffer, EncodeConstants.OFHEADER_SIZE); }  @Override void serialize(GetConfigInput message, ByteBuf outBuffer);  }### Answer:
@Test public void testV13() throws Exception { GetConfigInputBuilder gcib = new GetConfigInputBuilder(); BufferHelper.setupHeader(gcib, EncodeConstants.OF13_VERSION_ID); GetConfigInput gci = gcib.build(); ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer(); getConfigFactory.serialize(gci, out); BufferHelper.checkHeaderV13(out, GET_CONFIG_REQUEST_MESSAGE_CODE_TYPE, 8); }
@Test public void testV10() throws Exception { GetConfigInputBuilder gcib = new GetConfigInputBuilder(); BufferHelper.setupHeader(gcib, EncodeConstants.OF10_VERSION_ID); GetConfigInput gci = gcib.build(); ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer(); getConfigFactory.serialize(gci, out); BufferHelper.checkHeaderV10(out, GET_CONFIG_REQUEST_MESSAGE_CODE_TYPE, 8); }