CertificateVerifyHandler extends HandshakeMessageHandler<CertificateVerifyMessage> { @Override public CertificateVerifyPreparator getPreparator(CertificateVerifyMessage message) { return new CertificateVerifyPreparator(tlsContext.getChooser(), message); } 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 testGetPreparator() { assertTrue(handler.getPreparator(new CertificateVerifyMessage()) instanceof CertificateVerifyPreparator); }