void () { final VirtualFile file = createFile("a/b/c.txt"); final Artifact artifact = addArtifact(root().file(file)); VirtualFile baseDir = getOrCreateProjectBaseDir(); moveFile(file.getParent(), createChildDirectory(baseDir, "d")); assertLayout(artifact, "<root>\n" + " file:" + getProjectBasePath() + "/d/b/c.txt"); }