void (VirtualFile file) { PsiManagerEx psiManager = PsiManagerEx.getInstanceEx(getProject()); GCWatcher.tracking(psiManager.getFileManager().getCachedPsiFile(file)).ensureCollected(); assertNull(psiManager.getFileManager().getCachedPsiFile(file)); }