### Question:
OxmMplsLabelSerializer extends AbstractOxmMatchEntrySerializer { @Override public void serialize(MatchEntry entry, ByteBuf outBuffer) { super.serialize(entry, outBuffer); MplsLabelCase entryValue = (MplsLabelCase) entry.getMatchEntryValue(); outBuffer.writeInt(entryValue.getMplsLabel().getMplsLabel().intValue()); }  @Override void serialize(MatchEntry entry, ByteBuf outBuffer);  }### Answer:
@Test public void testSerialize() { MatchEntryBuilder builder = prepareMplsLabelMatchEntry(168535); ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer(); serializer.serialize(builder.build(), buffer); checkHeader(buffer, false); assertEquals("Wrong value", 168535, buffer.readUnsignedInt()); assertTrue("Unexpected data", buffer.readableBytes() == 0); }