SuiteFinishedProcessor implements StatusProcessor { @Override public void process() throws AETException { Logger.info(this, "Report is available at " + reportUrl); redirectWriter.write(reportUrl); runnerTerminator.finish(); } SuiteFinishedProcessor(String reportUrl, RedirectWriter redirectWriter,
      RunnerTerminator runnerTerminator); @Override void process();  }
@Test public void processTest() throws AETException, IOException { tested.process(); verify(runnerTerminator, times(1)).finish(); }