void () { File a = tempDir.newDirectory("a"); File b = createTestDir(a, "b"); File link1 = createSymLink(SystemInfo.isWindows ? a.getPath() : "../../" + a.getName(), b.getPath() + "/link1"); File project = tempDir.newDirectory("project"); File c = createTestDir(project, "c"); File d = createTestDir(c, "d"); File link2 = createSymLink(SystemInfo.isWindows ? a.getPath() : "../../../" + a.getName(), d.getPath() + "/link2"); assertVisitedPaths(project, c.getPath(), d.getPath(), link2.getPath(), link2.getPath() + "/" + b.getName(), link2.getPath() + "/" + b.getName() + "/" + link1.getName()); }