CertificateRequestHandler extends HandshakeMessageHandler<CertificateRequestMessage> { @Override public CertificateRequestParser getParser(byte[] message, int pointer) { return new CertificateRequestParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } CertificateRequestHandler(TlsContext tlsContext); @Override CertificateRequestParser getParser(byte[] message, int pointer); @Override CertificateRequestPreparator getPreparator(CertificateRequestMessage message); @Override CertificateRequestSerializer getSerializer(CertificateRequestMessage message); @Override void adjustTLSContext(CertificateRequestMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof CertificateRequestParser); }