SignatureAndHashAlgorithmsExtensionHandler extends
        ExtensionHandler<SignatureAndHashAlgorithmsExtensionMessage> { @Override public SignatureAndHashAlgorithmsExtensionPreparator getPreparator( SignatureAndHashAlgorithmsExtensionMessage message) { return new SignatureAndHashAlgorithmsExtensionPreparator(context.getChooser(), message, getSerializer(message)); } SignatureAndHashAlgorithmsExtensionHandler(TlsContext context); @Override void adjustTLSExtensionContext(SignatureAndHashAlgorithmsExtensionMessage message); @Override SignatureAndHashAlgorithmsExtensionParser getParser(byte[] message, int pointer); @Override SignatureAndHashAlgorithmsExtensionPreparator getPreparator(
            SignatureAndHashAlgorithmsExtensionMessage message); @Override SignatureAndHashAlgorithmsExtensionSerializer getSerializer(
            SignatureAndHashAlgorithmsExtensionMessage message);  }
@Test public void testGetPreparator() { assertTrue(handler.getPreparator(new SignatureAndHashAlgorithmsExtensionMessage()) instanceof SignatureAndHashAlgorithmsExtensionPreparator); }