HttpsRequestHandler extends ProtocolMessageHandler<HttpsRequestMessage> { @Override public HttpsRequestPreparator getPreparator(HttpsRequestMessage message) { return new HttpsRequestPreparator(tlsContext.getChooser(), message); } HttpsRequestHandler(TlsContext tlsContext); @Override HttpsRequestParser getParser(byte[] message, int pointer); @Override HttpsRequestPreparator getPreparator(HttpsRequestMessage message); @Override HttpsRequestSerializer getSerializer(HttpsRequestMessage message); @Override void adjustTLSContext(HttpsRequestMessage message);  }
@Test public void testGetPreparator() { assertTrue(handler.getPreparator(new HttpsRequestMessage()) instanceof HttpsRequestPreparator); }