ClientCertificateUrlExtensionSerializer extends ExtensionSerializer<ClientCertificateUrlExtensionMessage> { @Override public byte[] serializeExtensionContent() { return getAlreadySerialized(); } ClientCertificateUrlExtensionSerializer(ClientCertificateUrlExtensionMessage message); @Override byte[] serializeExtensionContent();  }
@Test public void testSerializeExtensionContent() { message.setExtensionType(extensionType.getValue()); message.setExtensionLength(extensionLength); assertArrayEquals(expectedBytes, serializer.serialize()); }