ServerAuthzExtensionHandler extends ExtensionHandler<ServerAuthzExtensionMessage> { @Override public ServerAuthzExtensionParser getParser(byte[] message, int pointer) { return new ServerAuthzExtensionParser(pointer, message); } ServerAuthzExtensionHandler(TlsContext context); @Override ServerAuthzExtensionParser getParser(byte[] message, int pointer); @Override ServerAuthzExtensionPreparator getPreparator(ServerAuthzExtensionMessage message); @Override ServerAuthzExtensionSerializer getSerializer(ServerAuthzExtensionMessage message); @Override void adjustTLSExtensionContext(ServerAuthzExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof ServerAuthzExtensionParser); }