void () { try { File dir = createTempDirectory(); root = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(dir); PsiTestUtil.addContentRoot(myModule, root); } catch (IOException e) { throw new RuntimeException(e); } }