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