示例#1
0
        public void op_Check_whenXmlIgnoreMissing()
        {
            var obj = new XmlIgnoreTest(typeof(PropertiedClass1).GetProperty("AutoBoolean"));

            Assert.Throws<UnitTestException>(() => obj.Check());
        }
        public void op_Check_whenXmlIgnoreMissing()
        {
            var obj = new XmlIgnoreTest(typeof(PropertiedClass1).GetProperty("AutoBoolean"));

            Assert.Throws <UnitTestException>(() => obj.Check());
        }
示例#3
0
        public void op_Check_whenTrue()
        {
            var obj = new XmlIgnoreTest(typeof(XmlDecorationClass1).GetProperty("Ignore"));

            Assert.True(obj.Check());
        }
        public void op_Check_whenTrue()
        {
            var obj = new XmlIgnoreTest(typeof(XmlDecorationClass1).GetProperty("Ignore"));

            Assert.True(obj.Check());
        }