Example #1
0
        public void EnumAtrributesRedactCorrectly(RedactEnumForXmlAttribute value, string expectedAttributeValue)
        {
            _testClass.EnumAttributeProperty = value;

            var xml = Serialize();

            Console.WriteLine(xml);

            Assert.That(xml, Contains.Substring(string.Format("EnumAttributeProperty=\"{0}\"", expectedAttributeValue)));
        }
        public void EnumAtrributesRedactCorrectly(RedactEnumForXmlAttribute value, string expectedAttributeValue)
        {
            _testClass.EnumAttributeProperty = value;

            var xml = Serialize();
            Console.WriteLine(xml);

            Assert.That(xml, Contains.Substring(string.Format("EnumAttributeProperty=\"{0}\"", expectedAttributeValue)));
        }