void () { DefaultLogger.disableStderrDumping(getTestRootDisposable()); try { doTest(getMessage("list", "List<T>")); fail("No conflict detected"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals("Cannot convert type of expression <b>&quot;&quot;</b> from <b>java.lang.String</b> to <b>T</b>", e.getMessage()); } }