void () { VirtualFile dir = createSrc(); String url = dir.getUrl(); delete(dir); ContentFolder f = entry.addExcludeFolder(url); assertNull(f.getFile()); assertEquals(url, f.getUrl()); dir = createSrc(); assertEquals(dir, f.getFile()); assertEquals(url, f.getUrl()); }