void () { doTest("Unable to migrate statement to enum constant. Node.WARNING can not be replaced with enum", false, new RefactoringTestUtil.MemberDescriptor("OK", PsiField.class, true), new RefactoringTestUtil.MemberDescriptor("ERROR", PsiField.class, true)); }