EcPointFormatExtensionHandler extends ExtensionHandler<ECPointFormatExtensionMessage> { @Override public ECPointFormatExtensionParser getParser(byte[] message, int pointer) { return new ECPointFormatExtensionParser(pointer, 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 testGetParser() { assertTrue(handler.getParser(new byte[] { 123 }, 0) instanceof ECPointFormatExtensionParser); }