### Question:
OxmIpProtoSerializer extends AbstractOxmMatchEntrySerializer { @Override public void serialize(MatchEntry entry, ByteBuf outBuffer) { super.serialize(entry, outBuffer); IpProtoCase entryValue = (IpProtoCase) entry.getMatchEntryValue(); outBuffer.writeByte(entryValue.getIpProto().getProtocolNumber()); }  @Override void serialize(MatchEntry entry, ByteBuf outBuffer);  }### Answer:
@Test public void testSerialize() { MatchEntryBuilder builder = prepareMatchEntry((short) 123); ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer(); serializer.serialize(builder.build(), buffer); checkHeader(buffer, false); assertEquals("Wrong value", 123, buffer.readUnsignedByte()); assertTrue("Unexpected data", buffer.readableBytes() == 0); }