public void op_Check_whenNameWrong()
        {
            var obj = new XmlAttributeTest(typeof(XmlDecorationClass1).GetProperty("Attribute"))
            {
                AttributeName = "xxx"
            };

            Assert.Throws <UnitTestException>(() => obj.Check());
        }
        public void op_Check_whenNameWrong()
        {
            var obj = new XmlAttributeTest(typeof(XmlDecorationClass1).GetProperty("Attribute"))
                          {
                              AttributeName = "xxx"
                          };

            Assert.Throws<UnitTestException>(() => obj.Check());
        }
        public void op_Check_whenTrue()
        {
            var obj = new XmlAttributeTest(typeof(XmlDecorationClass1).GetProperty("NamespaceAttribute"))
            {
                AttributeName = "attribute",
                Namespace     = "urn:example.org"
            };

            Assert.True(obj.Check());
        }
        public void op_Check_whenTrue()
        {
            var obj = new XmlAttributeTest(typeof(XmlDecorationClass1).GetProperty("NamespaceAttribute"))
                          {
                              AttributeName = "attribute",
                              Namespace = "urn:example.org"
                          };

            Assert.True(obj.Check());
        }
        public void op_Check_whenXmlAttributeMissing()
        {
            var obj = new XmlAttributeTest(typeof(PropertiedClass1).GetProperty("AutoBoolean"));

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

            Assert.Throws<UnitTestException>(() => obj.Check());
        }