void () { mySimpleTest.setStarted(); mySimpleTest.addError("msg", "stacktrace", false); mySimpleTest.setFinished(); TestsPresentationUtil.formatTestProxy(mySimpleTest, myRenderer); assertEquals(PoolOfTestIcons.PASSED_ICON, myRenderer.getIcon()); }