TrustedCaIndicationExtensionHandler extends ExtensionHandler<TrustedCaIndicationExtensionMessage> { @Override public TrustedCaIndicationExtensionSerializer getSerializer(TrustedCaIndicationExtensionMessage message) { return new TrustedCaIndicationExtensionSerializer(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 testGetSerializer() { assertTrue(handler.getSerializer(new TrustedCaIndicationExtensionMessage()) instanceof TrustedCaIndicationExtensionSerializer); }