void () { mySimpleTest.setStarted(); mySimpleTest.setTestFailed("", "", true); TestsPresentationUtil.formatTestProxy(mySimpleTest, myRenderer); assertEquals(PoolOfTestIcons.ERROR_ICON, myRenderer.getIcon()); assertOneElement(myFragContainer.getFragments()); assertEquals(FAKE_TEST_NAME, myFragContainer.getTextAt(0)); assertEquals(SimpleTextAttributes.REGULAR_ATTRIBUTES, myFragContainer.getAttribsAt(0)); mySimpleTest.setFinished(); TestsPresentationUtil.formatTestProxy(mySimpleTest, myRenderer); assertEquals(PoolOfTestIcons.ERROR_ICON, myRenderer.getIcon()); }