void () { final VirtualFile file = createFile("a.txt"); final Artifact a1 = addArtifact("a1", root().file(file)); final Artifact a2 = addArtifact("a2", root().file(file)); createEditor(addArtifact(root().artifact(a1).artifact(a2).file(file)), true); selectNode("a.txt"); assertLayout("<root>\n" + " artifact:a1\n" + " artifact:a2\n" + " file:" + getProjectBasePath() + "/a.txt"); removeSelected(true); assertLayout("<root>"); }