ClientHelloHandler extends HandshakeMessageHandler<ClientHelloMessage> { @Override public ClientHelloParser getParser(byte[] message, int pointer) { return new ClientHelloParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } ClientHelloHandler(TlsContext tlsContext); @Override ClientHelloParser getParser(byte[] message, int pointer); @Override ClientHelloPreparator getPreparator(ClientHelloMessage message); @Override ClientHelloSerializer getSerializer(ClientHelloMessage message); @Override void adjustTLSContext(ClientHelloMessage message); @Override void adjustTlsContextAfterSerialize(ClientHelloMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof ClientHelloParser); }