UnknownHandler extends ProtocolMessageHandler<UnknownMessage> { @Override public UnknownPreparator getPreparator(UnknownMessage message) { return new UnknownPreparator(tlsContext.getChooser(), message); } UnknownHandler(TlsContext tlsContext); @Override UnknownParser getParser(byte[] message, int pointer); @Override UnknownPreparator getPreparator(UnknownMessage message); @Override UnknownSerializer getSerializer(UnknownMessage message); @Override void adjustTLSContext(UnknownMessage message);  }
@Test public void testGetPreparator() { assertTrue(handler.getPreparator(new UnknownMessage()) instanceof UnknownPreparator); }