ClientAuthzExtensionHandler extends ExtensionHandler<ClientAuthzExtensionMessage> { @Override public ClientAuthzExtensionSerializer getSerializer(ClientAuthzExtensionMessage message) { return new ClientAuthzExtensionSerializer(message); } ClientAuthzExtensionHandler(TlsContext context); @Override ClientAuthzExtensionParser getParser(byte[] message, int pointer); @Override ClientAuthzExtensionPreparator getPreparator(ClientAuthzExtensionMessage message); @Override ClientAuthzExtensionSerializer getSerializer(ClientAuthzExtensionMessage message); @Override void adjustTLSExtensionContext(ClientAuthzExtensionMessage message);  }
@Test public void testGetSerializer() { assertTrue(handler.getSerializer(new ClientAuthzExtensionMessage()) instanceof ClientAuthzExtensionSerializer); }