TrustedCaIndicationExtensionHandler extends ExtensionHandler<TrustedCaIndicationExtensionMessage> { @Override public TrustedCaIndicationExtensionPreparator getPreparator(TrustedCaIndicationExtensionMessage message) { return new TrustedCaIndicationExtensionPreparator(context.getChooser(), message, getSerializer(message)); } TrustedCaIndicationExtensionHandler(TlsContext context); @Override TrustedCaIndicationExtensionParser getParser(byte[] message, int pointer); @Override TrustedCaIndicationExtensionPreparator getPreparator(TrustedCaIndicationExtensionMessage message); @Override TrustedCaIndicationExtensionSerializer getSerializer(TrustedCaIndicationExtensionMessage message); @Override void adjustTLSExtensionContext(TrustedCaIndicationExtensionMessage message);  }
@Test public void testGetPreparator() { assertTrue(handler.getPreparator(new TrustedCaIndicationExtensionMessage()) instanceof TrustedCaIndicationExtensionPreparator); }