### Question:
SuiteEventDemuxer implements MessageSender<Event<SuiteListener>> { public void visitAllRuns(RunVisitor visitor) { visitAllRuns(new RunEventDenormalizer(visitor)); }  @Override void send(Event<SuiteListener> message); boolean isSuiteFinished(); void visitAllRuns(RunVisitor visitor); void visitAllRuns(SuiteListener visitor); void visitRun(RunId runId, RunVisitor visitor); void visitRun(RunId runId, SuiteListener visitor); String getTestName(TestFile testFile, TestId testId);  }### Answer:
@Test public void allows_all_runs_to_be_visited() { toDemuxer.onRunStarted(new RunId(1), TEST_FILE_1); toDemuxer.onRunStarted(new RunId(2), TEST_FILE_2); RunVisitor visitor = mock(RunVisitor.class); demuxer.visitAllRuns(visitor); verify(visitor).onRunStarted(new RunId(1), TEST_FILE_1); verify(visitor).onRunStarted(new RunId(2), TEST_FILE_2); verifyNoMoreInteractions(visitor); }