void () { final SMTestProxy passedSuite = createSuiteProxy("passedSuite"); final SMTestProxy passedSuiteTest = createTestProxy("test"); passedSuite.setStarted(); passedSuite.addChild(passedSuiteTest); passedSuiteTest.setStarted(); passedSuiteTest.setFinished(); passedSuite.setFinished(); assertEquals(Magnitude.PASSED_INDEX.getValue(), passedSuite.getMagnitude()); }