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