void () { String root = JavaTestUtil.getJavaTestDataPath() + "/codeInsight/navigation/alexProject"; VirtualFile vfsRoot = LocalFileSystem.getInstance().findFileByPath(FileUtil.toSystemIndependentName(root)); myProject = PlatformTestUtil.loadAndOpenProject(Paths.get(vfsRoot.findChild("test.ipr").getPath()), getTestRootDisposable()); }