void () { mySMRootTestProxy.setTestsReporterAttached(); mySMRootTestProxy.setStarted(); mySMRootTestProxy.setTerminated(); TestsPresentationUtil.formatRootNodeWithoutChildren(mySMRootTestProxy, myRenderer); assertEquals(PoolOfTestIcons.TERMINATED_ICON, myRenderer.getIcon()); assertOneElement(myFragContainer.getFragments()); assertEquals("Terminated", myFragContainer.getTextAt(0)); assertEquals(SimpleTextAttributes.REGULAR_ATTRIBUTES, myFragContainer.getAttribsAt(0)); }