### Question:
GetQueueConfigInputMessageFactory implements OFSerializer<GetQueueConfigInput> { @Override public void serialize(GetQueueConfigInput message, ByteBuf outBuffer) { ByteBufUtils.writeOFHeader(MESSAGE_TYPE, message, outBuffer, EncodeConstants.EMPTY_LENGTH); outBuffer.writeInt(message.getPort().getValue().intValue()); outBuffer.writeZero(PADDING_IN_GET_QUEUE_CONFIG_MESSAGE); ByteBufUtils.updateOFHeaderLength(outBuffer); }  @Override void serialize(GetQueueConfigInput message, ByteBuf outBuffer);  }### Answer:
@Test public void testGetQueueConfigInputMessage() throws Exception { GetQueueConfigInputBuilder builder = new GetQueueConfigInputBuilder(); BufferHelper.setupHeader(builder, EncodeConstants.OF13_VERSION_ID); builder.setPort(new PortNumber(0x00010203L)); GetQueueConfigInput message = builder.build(); ByteBuf out = UnpooledByteBufAllocator.DEFAULT.buffer(); getQueueFactory.serialize(message, out); BufferHelper.checkHeaderV13(out, GET_QUEUE_CONFIG_INPUT_MESSAGE_CODE_TYPE, 16); Assert.assertEquals("Wrong port", 0x00010203, out.readUnsignedInt()); out.skipBytes(PADDING_IN_QUEUE_CONFIG_INPUT_MESSAGE); }