void () { try { doTest("xxx.properties","a.b","c.d"); fail("Conflict was not detected"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals("New property name 'c.d' hides existing property", e.getMessage()); return; } fail("Conflict was not detected"); }