void (final String className, final String superClassName, boolean replaceInstanceOf) { final PsiClass aClass = myFixture.findClass(className); assertNotNull("Class " + className + " not found", aClass); PsiClass superClass = myFixture.findClass(superClassName); assertNotNull("Class " + superClassName + " not found", superClass); new TurnRefsToSuperProcessor(getProject(), aClass, superClass, replaceInstanceOf).run(); }