private void InterpretLostMessageItem(XmlElement interactionElement,LostMessage lostMessageItem)
 {
     int sourceLifelineItemId=lostMessageItem.Process;
     XmlElement sourceLifelineElement=this.GetXmiElementByItemId(sourceLifelineItemId);
     xmiDocumentBuilder.AddMessageElement(interactionElement,lostMessageItem,sourceLifelineElement,null);
 }
        public void CreateLostMessageElement()
        {
            LostMessage lostMessageItem=new LostMessage(FILE_LINE_DUMMY,MESSAGE_NAME,LINE_DUMMY,PROCESS_DUMMY);

            XmlElement createdMessageElement=elementCreator.CreateMessageElement(parentElement,lostMessageItem,sourceLifelineElement,destinationLifelineElement);
            System.Console.WriteLine(modelElement.OuterXml);
            System.Console.WriteLine("*********************************");
            /*Assert.IsNotNull(createdMessageElement);
            AssertXML.AssertTypeNameOfElement(createdMessageElement,MESSAGE_ELEMENT_TYPE_NAME);
            AssertXML.AssertNamespacePrefixOfElement(createdMessageElement,EMPTY_STRING);
            AssertXML.AssertOwnedAttributesCount(createdMessageElement,OWNED_ATTRIBUTES_COUNT_CASE_LOST_MESSAGE);
            AssertXML.AssertChildElementsCount(parentElement,EXPECTED_CHILD_COUNT_CASE_LOST_MESSAGE);
            AssertXML.AssertIsChildElementOf(parentElement,createdMessageElement,XPathQuerys.MESSAGE_ELEMENT_PATH,namespaceManager);
            AssertXML.AssertIsXmiAttributeOf(createdMessageElement,XmiElements.XMI_ID_ATTR_NAME,XmiElements.XMI_NAMESPACE_URI);
            AssertXML.AssertIsCorrectXmiAttributeValue(createdMessageElement,XmiElements.XMI_ID_ATTR_NAME,XmiElements.XMI_NAMESPACE_URI,ID_OF_FIRST_XMI_ELEMENT);
            AssertXML.AssertIsXmiAttributeOf(createdMessageElement,XmiElements.XMI_TYPE_ATTR_NAME,XmiElements.XMI_NAMESPACE_URI);
            AssertXML.AssertIsCorrectXmiAttributeValue(createdMessageElement,XmiElements.XMI_TYPE_ATTR_NAME,XmiElements.XMI_NAMESPACE_URI,XMI_TYPE_ATTRIBUTE_VALUE);
            AssertXML.AssertIsUmlAttributeOf(createdMessageElement,UmlModelElements.NAME_ATTR_NAME,this.namespaceManager);
            AssertXML.AssertValueOfUmlAttribute(createdMessageElement,UmlModelElements.NAME_ATTR_NAME,this.namespaceManager,MESSAGE_NAME);
            VerifyMessageOccurrenceSpecElement(ID_SEND_EVENT_ELEMENT_CASE_LOST_MESSAGE,ID_OF_FIRST_XMI_ELEMENT,ID_LIFELINE_SOURCE);
            AssertXML.AssertIsUmlAttributeOf(createdMessageElement,UmlModelElements.MESSAGE_SORT_ATTR_NAME,this.namespaceManager);
            AssertXML.AssertValueOfUmlAttribute(createdMessageElement,UmlModelElements.MESSAGE_SORT_ATTR_NAME,this.namespaceManager,UmlModelElements.MESSAGE_SORT_ASYNCH_CALL);
            AssertXML.AssertIsUmlAttributeOf(createdMessageElement,UmlModelElements.MESSAGE_KIND_ATTR_NAME,this.namespaceManager);
            AssertXML.AssertValueOfUmlAttribute(createdMessageElement,UmlModelElements.MESSAGE_KIND_ATTR_NAME,this.namespaceManager,UmlModelElements.MESSAGE_KIND_LOST);
            AssertXML.AssertIsUmlAttributeOf(createdMessageElement,UmlModelElements.SEND_EVENT_ATTR_NAME,this.namespaceManager);
            AssertXML.AssertValueOfUmlAttribute(createdMessageElement,UmlModelElements.SEND_EVENT_ATTR_NAME,this.namespaceManager,ID_SEND_EVENT_ELEMENT_CASE_LOST_MESSAGE);

            uint newIdCount=documentBuilder.CurrentXmiIdCount;
            Assert.IsTrue(EXPECTED_ID_COUNT==2);*/
        }