FinishedHandler extends HandshakeMessageHandler<FinishedMessage> { @Override public FinishedParser getParser(byte[] message, int pointer) { return new FinishedParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } FinishedHandler(TlsContext context); @Override FinishedParser getParser(byte[] message, int pointer); @Override FinishedPreparator getPreparator(FinishedMessage message); @Override FinishedSerializer getSerializer(FinishedMessage message); @Override void adjustTLSContext(FinishedMessage message); @Override void adjustTlsContextAfterSerialize(FinishedMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof FinishedParser); }