public void Element_WithChildElement_IsComplex() { var el = new XElement("Customer", new XElement("Name", "Chris")); Assert.IsTrue(builder.IsComplex(el)); }
public void Element_WithChildElement_IsComplex() { XmlElement el = CreateXmlElement("<Customer><Name>Chris</Name></Customer>"); Assert.IsTrue(builder.IsComplex(el)); }