void () { mySMRootTestProxy.setStarted(); mySMRootTestProxy.setFinished(); TestsPresentationUtil.formatRootNodeWithoutChildren(mySMRootTestProxy, myRenderer); assertEquals(PoolOfTestIcons.NOT_RAN, myRenderer.getIcon()); assertOneElement(myFragContainer.getFragments()); assertEquals(SmRunnerBundle.message("sm.test.runner.ui.tests.tree.presentation.labels.test.reporter.not.attached"), myFragContainer.getTextAt(0)); assertEquals(SimpleTextAttributes.ERROR_ATTRIBUTES, myFragContainer.getAttribsAt(0)); }