Example #1
0
        public virtual void testSenderID()
        {
            JDFDoc     doc     = new JDFDoc(ElementName.JMF);
            JDFJMF     jmf     = doc.getJMFRoot();
            JDFCommand command = (JDFCommand)jmf.appendMessageElement(EnumFamily.Command,EnumType.UpdateJDF);

            Assert.AreEqual(command.getSenderID(),jmf.getSenderID());
            command.setSenderID("foo:bar");
            Assert.AreEqual("foo:bar",command.getSenderID());
        }