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