void () { addModule(); createEditor(addArtifact(root().dir("dir"))); selectNode("dir"); myArtifactEditor.addNewPackagingElement(ProductionModuleSourceElementType.ELEMENT_TYPE); assertLayout(""" <root> dir/ module sources:mod"""); }