void () { try { doTest(false); fail(); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals("Method doTest() is already defined in the class <b><code>Test</code></b>", e.getMessage()); } }