SignatureAndHashAlgorithmsExtensionHandler extends
        ExtensionHandler<SignatureAndHashAlgorithmsExtensionMessage> { @Override public SignatureAndHashAlgorithmsExtensionParser getParser(byte[] message, int pointer) { return new SignatureAndHashAlgorithmsExtensionParser(pointer, 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 testGetParser() { assertTrue(handler.getParser(new byte[] { 0, 2 }, 0) instanceof SignatureAndHashAlgorithmsExtensionParser); }