void () { try { doTest("b"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { Assert.assertEquals("Renamed field will hide local variable <b><code>b</code></b>", e.getMessage()); return; } fail("Conflicts were not found"); }