void () { VirtualFile root = createChildDirectory(dir, "root"); String url = root.getUrl(); String path = root.getPath(); delete(root); addContentRoot(path); assertNotNull(findContentEntry(url)); root = createChildDirectory(dir, "root"); assertEquals(root, findContentEntry(url).getFile()); }