CertificateVerifyHandler extends HandshakeMessageHandler<CertificateVerifyMessage> { @Override public CertificateVerifyParser getParser(byte[] message, int pointer) { return new CertificateVerifyParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } CertificateVerifyHandler(TlsContext tlsContext); @Override CertificateVerifyParser getParser(byte[] message, int pointer); @Override CertificateVerifyPreparator getPreparator(CertificateVerifyMessage message); @Override CertificateVerifySerializer getSerializer(CertificateVerifyMessage message); @Override void adjustTLSContext(CertificateVerifyMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof CertificateVerifyParser); }