void () { String target = new File(tempDir.getRoot(), "self_link").getPath(); File selfLinkFile = createSymLink(target, target, false); VirtualFile selfLinkVFile = refreshAndFind(selfLinkFile); assertNotNull(selfLinkVFile); assertBrokenLink(selfLinkVFile); assertVisitedPaths(selfLinkVFile.getPath()); }