ServerHelloDoneHandler extends HandshakeMessageHandler<ServerHelloDoneMessage> { @Override public ServerHelloDoneParser getParser(byte[] message, int pointer) { return new ServerHelloDoneParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } ServerHelloDoneHandler(TlsContext tlsContext); @Override ServerHelloDoneParser getParser(byte[] message, int pointer); @Override ServerHelloDonePreparator getPreparator(ServerHelloDoneMessage message); @Override ServerHelloDoneSerializer getSerializer(ServerHelloDoneMessage message); @Override void adjustTLSContext(ServerHelloDoneMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof ServerHelloDoneParser); }