void () { createEditor(addArtifact(root().file(createFile("a.txt")))); assertDisabled(); selectNode("a.txt"); perform(); assertLayout("<root>\n" + " artifact:a_txt"); applyChanges(); assertLayout(ArtifactsTestUtil.findArtifact(myProject, "a_txt"), "<root>\n" + " file:" + getProjectBasePath() + "/a.txt"); }