void () { // IDEADEV-28864 doTest(new PerformAction() { @Override public void performAction(VirtualFile rootDir, VirtualFile rootAfter) { PsiPackage aPackage = JavaPsiFacade.getInstance(myPsiManager.getProject()).findPackage("org.withoutForms"); Assert.assertNotNull(aPackage); new RenameProcessor(myProject, aPackage, "withForms", true, true).run(); } }); }