System.Xml.Tests.TCAddSchema.PassNull C# (CSharp) Method

PassNull() private method

private PassNull ( ) : void
return void
        public void PassNull()
        {
            XmlSchemaValidator val = CreateValidator(new XmlSchemaSet());

            try
            {
                val.AddSchema(null);
            }
            catch (ArgumentNullException)
            {
                return;
            }

            Assert.True(false);
        }