void () { Project project = myProject; myProject = null; runAll( () -> ((FileEditorManagerEx)FileEditorManager.getInstance(project)).closeAllFiles(), () -> ProjectManagerEx.getInstanceEx().forceCloseProject(project), () -> super.tearDown(), () -> checkNoPsiFilesInProjectReachable(project) ); }