void (VirtualFile rootDir, VirtualFile rootAfter) { PsiFile file = myPsiManager.findFile(rootDir.findChild("F1.properties")); Assert.assertNotNull(file); new RenameProcessor(myProject, file, "F2.properties", true, true).run(); }