void () { VirtualFile virtualFile = myFixture.copyFileToProject("nullTag.xml"); assertNotNull(virtualFile); PsiFile psiFile = ((PsiManagerEx)getPsiManager()).getFileManager().findFile(virtualFile); StubTreeLoader loader = StubTreeLoader.getInstance(); VirtualFile file = psiFile.getVirtualFile(); assertTrue(loader.canHaveStub(file)); ObjectStubTree stubTree = loader.readFromVFile(getProject(), file); assertNotNull(stubTree); }