### Question:
OxmArpOpSerializer extends AbstractOxmMatchEntrySerializer { @Override public void serialize(MatchEntry entry, ByteBuf outBuffer) { super.serialize(entry, outBuffer); ArpOpCase entryValue = (ArpOpCase) entry.getMatchEntryValue(); outBuffer.writeShort(entryValue.getArpOp().getOpCode()); }  @Override void serialize(MatchEntry entry, ByteBuf outBuffer);  }### Answer:
@Test public void testSerialize() { MatchEntryBuilder builder = prepareArpOpMatchEntry(1402); ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer(); serializer.serialize(builder.build(), buffer); checkHeader(buffer, false); assertEquals("Wrong value", 1402, buffer.readUnsignedShort()); assertTrue("Unexpected data", buffer.readableBytes() == 0); }