ClientCertificateTypeExtensionHandler extends ExtensionHandler<ClientCertificateTypeExtensionMessage> { @Override public ClientCertificateTypeExtensionPreparator getPreparator(ClientCertificateTypeExtensionMessage message) { return new ClientCertificateTypeExtensionPreparator(context.getChooser(), message, getSerializer(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 testGetPreparator() { assertTrue(handler.getPreparator(new ClientCertificateTypeExtensionMessage()) instanceof ClientCertificateTypeExtensionPreparator); }