示例#1
0
        public void TestCreateValue()
        {
            NxArgument argValue = new NxArgument("some value", false);

            string expected = "<Argument value=\"some value\" />";
            string actual = argValue.Create().OuterXml;
            Assert.AreEqual(expected, actual);            
        }
示例#2
0
        public void TestCreateValueId()
        {
            NxArgument argValueId = new NxArgument("valId", true);
            
            string expected = "<Argument valueId=\"valId\" />";
            string actual = argValueId.Create().OuterXml;

            Assert.AreEqual(expected, actual);
        }