ClientAuthzExtensionHandler extends ExtensionHandler<ClientAuthzExtensionMessage> { @Override public ClientAuthzExtensionPreparator getPreparator(ClientAuthzExtensionMessage message) { return new ClientAuthzExtensionPreparator(context.getChooser(), message, getSerializer(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 testGetPreparator() { assertTrue(handler.getPreparator(new ClientAuthzExtensionMessage()) instanceof ClientAuthzExtensionPreparator); }