void () { myEventsProcessor.onStartTesting(); myEventsProcessor.onSuiteStarted(new TestSuiteStartedEvent("my suite", null)); final SMTestProxy mySuite = myEventsProcessor.getCurrentSuite(); assertNotSame(mySuite, myRootSuite); mySuite.setPrinter(myMockResettablePrinter); assertOnUncapturedOutput(); }