HelloRetryRequestHandler extends HandshakeMessageHandler<HelloRetryRequestMessage> { @Override public HelloRetryRequestPreparator getPreparator(HelloRetryRequestMessage message) { return new HelloRetryRequestPreparator(tlsContext.getChooser(), message); } 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 testGetPreparator() { assertTrue(handler.getPreparator(new HelloRetryRequestMessage()) instanceof HelloRetryRequestPreparator); }