void () { PlatformTestUtil.saveProject(getProject(), true); VirtualFile fileUnderProjectDir = createFileExternally(new File(getProject().getBasePath())); assertFalse(ProjectFileIndex.getInstance(getProject()).isInContent(fileUnderProjectDir)); typeAndCheck(getProject().getProjectFile(), true); typeAndCheck(getProject().getWorkspaceFile(), true); typeAndCheck(fileUnderProjectDir, false); }