ClientCertificateTypeExtensionHandler extends ExtensionHandler<ClientCertificateTypeExtensionMessage> { @Override public ClientCertificateTypeExtensionSerializer getSerializer(ClientCertificateTypeExtensionMessage message) { return new ClientCertificateTypeExtensionSerializer(message); } ClientCertificateTypeExtensionHandler(TlsContext context); @Override ClientCertificateTypeExtensionParser getParser(byte[] message, int pointer); @Override ClientCertificateTypeExtensionPreparator getPreparator(ClientCertificateTypeExtensionMessage message); @Override ClientCertificateTypeExtensionSerializer getSerializer(ClientCertificateTypeExtensionMessage message); @Override void adjustTLSExtensionContext(ClientCertificateTypeExtensionMessage message);  }
@Test public void testGetSerializer() { assertTrue(handler.getSerializer(new ClientCertificateTypeExtensionMessage()) instanceof ClientCertificateTypeExtensionSerializer); }