void () { try { doTest("B", "A", 0); fail("conflict expected"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals("Non-constant field <b><code>B.i</code></b> will not be compilable when moved to an interface.", e.getMessage()); } }