UnknownHandler extends ProtocolMessageHandler<UnknownMessage> { @Override public UnknownParser getParser(byte[] message, int pointer) { return new UnknownParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } 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 testGetParser() { assertTrue(handler.getParser(new byte[] { 0 }, 0) instanceof UnknownParser); }