void () { startTestWithPrinter("my_test"); myEventsProcessor.onTestOutput(new TestOutputEvent("my_test", "stderr1 ", false)); myEventsProcessor.onTestOutput(new TestOutputEvent("my_test", "stderr2", false)); assertStdErr(myMockResettablePrinter, "stderr1 stderr2"); }