void () { try { doTest("B", "A", 0); fail("conflict expected"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals("The initializer of final field <b><code>B.ONE</code></b> will be left behind.", e.getMessage()); } }