void () { VirtualFile dir = createChildDirectory(myPrjDir1, "dir"); VirtualFile dir1 = createChildDirectory(myPrjDir1.getParent(), "dir"); VirtualFile excludedDir = createChildDirectory(myExcludedDir1, "dir"); VirtualFile ignoredDir = createChildDirectory(mySrcDir1, "CVS"); FileManagerImpl fileManager = (FileManagerImpl)myPsiManager.getFileManager(); PsiDirectory psiDir = fileManager.findDirectory(dir); assertNotNull(psiDir); PsiDirectory psiDir1 = fileManager.findDirectory(dir1); assertNotNull(psiDir1); PsiDirectory excludedPsiDir = fileManager.findDirectory(excludedDir); assertNotNull(excludedPsiDir); PsiDirectory ignoredPsiDir = fileManager.findDirectory(ignoredDir); assertNull(ignoredPsiDir); }