ServerAuthzExtensionHandler extends ExtensionHandler<ServerAuthzExtensionMessage> { @Override public ServerAuthzExtensionSerializer getSerializer(ServerAuthzExtensionMessage message) { return new ServerAuthzExtensionSerializer(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 testGetSerializer() { assertTrue(handler.getSerializer(new ServerAuthzExtensionMessage()) instanceof ServerAuthzExtensionSerializer); }