HelloVerifyRequestHandler extends HandshakeMessageHandler<HelloVerifyRequestMessage> { @Override public HelloVerifyRequestPreparator getPreparator(HelloVerifyRequestMessage message) { return new HelloVerifyRequestPreparator(tlsContext.getChooser(), message); } HelloVerifyRequestHandler(TlsContext tlsContext); @Override HelloVerifyRequestParser getParser(byte[] message, int pointer); @Override HelloVerifyRequestPreparator getPreparator(HelloVerifyRequestMessage message); @Override HelloVerifyRequestSerializer getSerializer(HelloVerifyRequestMessage message); @Override void adjustTLSContext(HelloVerifyRequestMessage message);  }
@Test public void testGetPreparator() { assertTrue(handler.getPreparator(new HelloVerifyRequestMessage()) instanceof HelloVerifyRequestPreparator); }