EcPointFormatExtensionHandler extends ExtensionHandler<ECPointFormatExtensionMessage> { @Override public ECPointFormatExtensionSerializer getSerializer(ECPointFormatExtensionMessage message) { return new ECPointFormatExtensionSerializer(message); } EcPointFormatExtensionHandler(TlsContext context); @Override void adjustTLSExtensionContext(ECPointFormatExtensionMessage message); @Override ECPointFormatExtensionParser getParser(byte[] message, int pointer); @Override ECPointFormatExtensionPreparator getPreparator(ECPointFormatExtensionMessage message); @Override ECPointFormatExtensionSerializer getSerializer(ECPointFormatExtensionMessage message);  }
@Test public void testGetSerializer() { assertTrue(handler.getSerializer(new ECPointFormatExtensionMessage()) instanceof ECPointFormatExtensionSerializer); }