void () { final MyRenderer renderer1 = new MyRenderer(false, myFragContainer = new UITestUtil.FragmentsContainer()); mySMRootTestProxy.setTestsReporterAttached(); mySMRootTestProxy.addChild(mySimpleTest); mySMRootTestProxy.setStarted(); mySimpleTest.setStarted(); mySimpleTest.setTestIgnored("", null); mySimpleTest.setFinished(); mySMRootTestProxy.setFinished(); TestsPresentationUtil.formatRootNodeWithChildren(mySMRootTestProxy, renderer1); assertEquals(PoolOfTestIcons.IGNORED_ICON, renderer1.getIcon()); assertOneElement(renderer1.getFragmentsContainer().getFragments()); assertEquals("Test Results", renderer1.getFragmentsContainer().getTextAt(0)); assertEquals(SimpleTextAttributes.REGULAR_ATTRIBUTES, renderer1.getFragmentsContainer().getAttribsAt(0)); final MyRenderer renderer2 = new MyRenderer(false, myFragContainer = new UITestUtil.FragmentsContainer()); TestsPresentationUtil.formatRootNodeWithChildren(mySMRootTestProxy, renderer2); mySMRootTestProxy.setFinished(); assertEquals(PoolOfTestIcons.IGNORED_ICON, renderer1.getIcon()); assertOneElement(renderer1.getFragmentsContainer().getFragments()); assertEquals("Test Results", renderer1.getFragmentsContainer().getTextAt(0)); }