System.Xml.Tests.TC_SchemaSet_Add_URL.v6 C# (CSharp) Method

v6() private method

private v6 ( ) : void
return void
        public void v6()
        {
            XmlSchemaSet sc = new XmlSchemaSet();
            XmlSchema Schema1 = sc.Add("xsdauthor1", TestData._XsdNoNs);
            XmlSchema Schema2 = sc.Add("xsdauthor2", TestData._XsdNoNs);

            Assert.Equal(sc.Count, 2);
            Assert.Equal(Schema1 != null, true);
            // the second call to add should be ignored with Add returning the first obj
            Assert.Equal((Schema2 == Schema1), false);

            return;
        }