void () { myResultsViewer.onTestingStarted(myTestsRootNode); final SMTestProxy test1 = createTestProxy("some_test1", myTestsRootNode); myResultsViewer.onTestStarted(test1); myResultsViewer.onTestingFinished(myTestsRootNode); assertEquals(ColorProgressBar.GREEN, myResultsViewer.getTestsStatusColor()); }