void (String className, String newClassName, RefactoringTestUtil.MemberDescriptor... membersToFind) { doTest(() -> { PsiClass psiClass = myFixture.findClass(className); assertNotNull(psiClass); final MemberInfo[] members = RefactoringTestUtil.findMembers(psiClass, membersToFind); doTest(members, null, psiClass, null, targetDirectory -> new ExtractInterfaceProcessor(getProject(), false, targetDirectory, newClassName, psiClass, members, new DocCommentPolicy<>(DocCommentPolicy.ASIS))); }); }