assertNotNull(newParentPackage);
final PsiDirectory[] dirs = newParentPackage.getDirectories();
assertEquals(dirs.length, 1);
new MoveClassesOrPackagesProcessor(myProject, PsiUtilCore.toPsiElementArray(files),
new SingleSourceRootMoveDestination(PackageWrapper.create(newParentPackage),
newParentPackage.getDirectories()[0]),
true, true, null).run();
}
FileDocumentManager.getInstance().saveAllDocuments();
}