amModelItem = new ModelItem();
amModelItem.setType("interface");
amModelItem.setName("AnInterface");
amModelItem.addMember(amMember);
amMember = new Operation();
amMember.addModifier("public");
amMember.addModifier("static");
amMember.setType(voidTypeAM);
amMember.setName("aMember");
amMember.setNamespace(amModelItem.getIdentifier());
architectsModel = new Model();
architectsModel.setType(Model.Type.AM);
architectsModel.addModelItem(amModelItem);
//the DM with an interface and a member
voidTypeDM = new ModelItem();
voidTypeDM.setName("void");
dmModelItem = new ModelItem();
dmModelItem.setType("interface");
dmModelItem.setName("AnInterface");
dmModelItem.addMember(dmMember);
dmMember = new Operation();
dmMember.addModifier("public");
dmMember.setType(voidTypeAM);
dmMember.setName("aMember");
dmMember.setNamespace(amModelItem.getIdentifier());