HelloRequestHandler extends HandshakeMessageHandler<HelloRequestMessage> { @Override public HelloRequestParser getParser(byte[] message, int pointer) { return new HelloRequestParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } HelloRequestHandler(TlsContext tlsContext); @Override HelloRequestParser getParser(byte[] message, int pointer); @Override HelloRequestPreparator getPreparator(HelloRequestMessage message); @Override HelloRequestSerializer getSerializer(HelloRequestMessage message); @Override void adjustTLSContext(HelloRequestMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof HelloRequestParser); }