void () { final VirtualFile dir = createFile("dir/a.txt").getParent(); final Artifact artifact = addArtifact(root().dirCopy(dir)); final Artifact artifact2 = addArtifact(root().dirCopy(dir)); renameFile(dir, "xxx"); assertLayout(artifact, "<root>\n" + " dir:" + getProjectBasePath() + "/xxx"); assertLayout(artifact2, "<root>\n" + " dir:" + getProjectBasePath() + "/xxx"); }