CertificateTypeExtensionHandler extends ExtensionHandler<CertificateTypeExtensionMessage> { @Override public CertificateTypeExtensionParser getParser(byte[] message, int pointer) { return new CertificateTypeExtensionParser(pointer, message); } CertificateTypeExtensionHandler(TlsContext context); @Override CertificateTypeExtensionParser getParser(byte[] message, int pointer); @Override CertificateTypeExtensionPreparator getPreparator(CertificateTypeExtensionMessage message); @Override CertificateTypeExtensionSerializer getSerializer(CertificateTypeExtensionMessage message); @Override void adjustTLSExtensionContext(CertificateTypeExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof CertificateTypeExtensionParser); }