### Question:
RunEventNormalizer implements RunListener { @Override public void onTestStarted(RunId runId, TestId testId) { checkHasBeenFound(testId); listener.onTestStarted(runId, testId); } RunEventNormalizer(SuiteListener listener, TestFile testFile); @Override String toString(); @Override void onTestFound(TestId testId, String name); @Override void onInternalError(String message, Throwable cause); @Override void onRunStarted(RunId runId); @Override void onTestStarted(RunId runId, TestId testId); @Override void onPrintedOut(RunId runId, String text); @Override void onPrintedErr(RunId runId, String text); @Override void onFailure(RunId runId, TestId testId, Throwable cause); @Override void onTestFinished(RunId runId, TestId testId); @Override void onRunFinished(RunId runId);  }### Answer:
@Test public void onTestFound_must_be_called_before_onTestStarted() { thrown.expect(IllegalStateException.class); thrown.expectMessage(INFORMATION_ABOUT_THE_CURRENT_CONTEXT); thrown.expectMessage("the test TestId() must be found first"); normalizer.onTestStarted(new RunId(1), TestId.ROOT); }