PsiFile[] (PsiDirectory directory, PackageSet packageSet, DependencyValidationManager holder) { PsiFile[] psiFiles = directory.getFiles(); assertNotNull(psiFiles); for (PsiFile psiFile : psiFiles) { assertTrue(psiFile.getVirtualFile().getPath(), packageSet.contains(psiFile, holder)); } return psiFiles; }