Пример #1
0
        public void Element_WithChildElement_IsComplex()
        {
            var el = new XElement("Customer",
                                  new XElement("Name", "Chris"));


            Assert.IsTrue(builder.IsComplex(el));
        }
Пример #2
0
        public void Element_WithChildElement_IsComplex()
        {
            XmlElement el = CreateXmlElement("<Customer><Name>Chris</Name></Customer>");

            Assert.IsTrue(builder.IsComplex(el));
        }