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