void () { File target = tempDir.newDirectory("target"); File child = createTestDir(target, "child"); File link1 = createSymLink(target.getPath(), tempDir.getRoot() + "/link1"); File link2 = createSymLink(target.getPath(), tempDir.getRoot() + "/link2"); assertVisitedPaths(target.getPath(), child.getPath(), link1.getPath(), link1.getPath() + "/child", link2.getPath(), link2.getPath() + "/child"); }