Example #1
0
        public void prop_ElementName()
        {
            const string expected = "bar";

            var obj = new XmlRootTest <object>("foo")
            {
                ElementName = expected
            };

            var actual = obj.ElementName;

            Assert.Equal(expected, actual);
        }
Example #2
0
        public void prop_Namespace()
        {
            const string expected = "namespace";

            var obj = new XmlRootTest <object>("name")
            {
                Namespace = expected
            };

            var actual = obj.Namespace;

            Assert.Equal(expected, actual);
        }