void () { doTest(() -> { final PsiClass srcClass = myFixture.findClass("a.a"); assertNotNull("Source class not found", srcClass); final PsiClass targetClass = myFixture.findClass("a.B"); assertNotNull("Target class not found", targetClass); final PsiMethod[] methods = srcClass.getMethods(); assertTrue("No methods found", methods.length > 0); final MemberInfo[] membersToMove = new MemberInfo[1]; final MemberInfo memberInfo = new MemberInfo(methods[0]); memberInfo.setChecked(true); membersToMove[0] = memberInfo; new PullUpProcessor(srcClass, targetClass, membersToMove, new DocCommentPolicy<>(DocCommentPolicy.ASIS)).run(); }); }