### Question:
OxmIpv6NdTllSerializer extends AbstractOxmMacAddressSerializer { @Override public void serialize(MatchEntry entry, ByteBuf outBuffer) { super.serialize(entry, outBuffer); Ipv6NdTllCase entryValue = (Ipv6NdTllCase) entry.getMatchEntryValue(); writeMacAddress(entryValue.getIpv6NdTll().getMacAddress(), outBuffer); }  @Override void serialize(MatchEntry entry, ByteBuf outBuffer);  }### Answer:
@Test public void testSerialize() { MatchEntryBuilder builder = prepareMatchEntry("00:01:02:03:04:05"); ByteBuf buffer = PooledByteBufAllocator.DEFAULT.buffer(); serializer.serialize(builder.build(), buffer); checkHeader(buffer, false); byte[] address = new byte[6]; buffer.readBytes(address); Assert.assertArrayEquals("Wrong address", new byte[]{0, 1, 2, 3, 4, 5}, address); assertTrue("Unexpected data", buffer.readableBytes() == 0); }