HelloRetryRequestHandler extends HandshakeMessageHandler<HelloRetryRequestMessage> { @Override public HelloRetryRequestParser getParser(byte[] message, int pointer) { return new HelloRetryRequestParser(pointer, message, tlsContext.getLastRecordVersion(), tlsContext.getConfig()); } HelloRetryRequestHandler(TlsContext tlsContext); @Override HelloRetryRequestParser getParser(byte[] message, int pointer); @Override HelloRetryRequestPreparator getPreparator(HelloRetryRequestMessage message); @Override HelloRetryRequestSerializer getSerializer(HelloRetryRequestMessage message); @Override void adjustTLSContext(HelloRetryRequestMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof HelloRetryRequestParser); }