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