### Question:
GetAsyncReplyMessageFactory implements OFDeserializer<GetAsyncOutput> { @Override public GetAsyncOutput deserialize(ByteBuf rawMessage) { GetAsyncOutputBuilder builder = new GetAsyncOutputBuilder(); builder.setVersion((short) EncodeConstants.OF13_VERSION_ID); builder.setXid(rawMessage.readUnsignedInt()); builder.setPacketInMask(decodePacketInMask(rawMessage)); builder.setPortStatusMask(decodePortStatusMask(rawMessage)); builder.setFlowRemovedMask(decodeFlowRemovedMask(rawMessage)); return builder.build(); }  @Override GetAsyncOutput deserialize(ByteBuf rawMessage);  }### Answer:
@Test public void testGetAsyncReplyMessage() { ByteBuf bb = BufferHelper.buildBuffer("00 00 00 07 "+ "00 00 00 00 "+ "00 00 00 07 "+ "00 00 00 00 "+ "00 00 00 0F "+ "00 00 00 00"); GetAsyncOutput builtByFactory = BufferHelper.deserialize(asyncFactory, bb); BufferHelper.checkHeaderV13(builtByFactory); Assert.assertEquals("Wrong packetInMask",createPacketInMask(), builtByFactory.getPacketInMask()); Assert.assertEquals("Wrong portStatusMask",createPortStatusMask(), builtByFactory.getPortStatusMask()); Assert.assertEquals("Wrong flowRemovedMask",createFlowRemovedMask(), builtByFactory.getFlowRemovedMask()); }