### Question:
OxmEthTypeSerializer extends AbstractOxmMatchEntrySerializer { @Override public void serialize(MatchEntry entry, ByteBuf outBuffer) { super.serialize(entry, outBuffer); EthTypeCase entryValue = (EthTypeCase) entry.getMatchEntryValue(); outBuffer.writeShort(entryValue.getEthType().getEthType().getValue().shortValue()); }  @Override void serialize(MatchEntry entry, ByteBuf outBuffer);  }### Answer:
@Test public void testSerialize() { MatchEntryBuilder builder = prepareEthTypeMatchEntry(65535); ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer(); serializer.serialize(builder.build(), buffer); checkHeader(buffer, false); assertEquals("Wrong value", 65535, buffer.readUnsignedShort()); assertTrue("Unexpected data", buffer.readableBytes() == 0); }