void () { final Artifact included = addArtifact("included", root().dir("dir").file(createFile("a.txt"))); createEditor(addArtifact(root() .artifact(included) .dir("dir") .file(createFile("b.txt"))), true); selectNode("dir"); assertDisabled(); selectNode("dir/a.txt"); assertWillNotBePerformed(); selectNode("dir/b.txt"); perform(); assertLayout(""" <root> artifact:included dir/ artifact:b_txt"""); applyChanges(); assertLayout(ArtifactsTestUtil.findArtifact(myProject, "b_txt"), "<root>\n" + " file:" + getProjectBasePath() + "/b.txt"); }