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