void () { DefaultLogger.disableStderrDumping(getTestRootDisposable()); try { doTestWithChooser("protected"); fail("Must have an exception"); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals( "method <b><code>fooooooo()</code></b> will have incompatible access privileges with overriding method <b><code>Y.fooooooo()</code></b>", e.getMessage()); } }