void () { mySimpleTest.setPrinter(myMockResettablePrinter); sendToTestProxyStdOut(mySimpleTest, "first "); sendToTestProxyStdOut(mySimpleTest, "second"); assertStdOutput(myMockResettablePrinter, "first second"); }