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