ServerCertificateTypeExtensionHandler extends ExtensionHandler<ServerCertificateTypeExtensionMessage> { @Override public ServerCertificateTypeExtensionParser getParser(byte[] message, int pointer) { return new ServerCertificateTypeExtensionParser(pointer, message); } ServerCertificateTypeExtensionHandler(TlsContext context); @Override ServerCertificateTypeExtensionParser getParser(byte[] message, int pointer); @Override ServerCertificateTypeExtensionPreparator getPreparator(ServerCertificateTypeExtensionMessage message); @Override ServerCertificateTypeExtensionSerializer getSerializer(ServerCertificateTypeExtensionMessage message); @Override void adjustTLSExtensionContext(ServerCertificateTypeExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof ServerCertificateTypeExtensionParser); }