void (@NotNull String existingClassName, String existingClassPackage, String exceptionMessage) { try { doTestExistingClass(existingClassName, existingClassPackage, false); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { assertEquals(exceptionMessage, e.getMessage()); return; } fail("Conflict was not found"); }