void () { mySimpleTest.setStarted(); mySimpleTest.addError("msg", "stacktrace", true); mySimpleTest.setFinished(); TestsPresentationUtil.formatTestProxy(mySimpleTest, myRenderer); assertEquals(SMPoolOfTestIcons.PASSED_E_ICON, myRenderer.getIcon()); }