void () { myResultsViewer.onCustomProgressTestsCategory("foo", 0); final SMTestProxy suite = createSuiteProxy("some_suite", myTestsRootNode); myTestsRootNode.setStarted(); myResultsViewer.onSuiteStarted(suite); suite.setStarted(); suite.setFinished(); myResultsViewer.onSuiteFinished(suite); myTestsRootNode.setFinished(); myResultsViewer.onSuiteFinished(myTestsRootNode); myResultsViewer.onTestingFinished(myTestsRootNode); assertEquals(0, myResultsViewer.getTotalTestCount()); }