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

            Assert.Throws<UnitTestException>(() => obj.Check());
        }
예제 #2
0
        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());
        }
예제 #4
0
        public void op_Check_whenTrue()
        {
            var obj = new XmlIgnoreTest(typeof(XmlDecorationClass1).GetProperty("Ignore"));

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