void () { onSuiteStarted("Code", null, "1", TreeNodeEvent.ROOT_NODE_ID); SMTestProxy suiteProxy = validateSuite("1", "Code", null, myRootProxy); onTestStarted("should work", null, "2", "1", true); SMTestProxy testProxy = validateTest("2", "should work", null, true, suiteProxy); onTestFailed("2", "NPE", 5); validateTestFailure("2", testProxy, 5); assertTrue(suiteProxy.isInProgress()); onSuiteStarted("Bugs", null, "3", TreeNodeEvent.ROOT_NODE_ID); SMTestProxy bugsSuiteProxy = validateSuite("3", "Bugs", null, myRootProxy); onTestStarted("should be fixed", null, "4", "3", false); validateTest("4", "should be fixed", null, false, bugsSuiteProxy); assertFalse(bugsSuiteProxy.isInProgress()); }