public void EnumTextRedactsCorrectly(RedactEnumForXmlText value, string expectedAttributeValue)
        {
            _testClass.EnumTextProperty = new RedactEnumText {
                Value = value
            };

            var xml = Serialize();

            Console.WriteLine(xml);

            Assert.That(xml, Contains.Substring(string.Format("<EnumTextProperty>{0}</EnumTextProperty>", expectedAttributeValue)));
        }
        public void EnumTextRedactsCorrectly(RedactEnumForXmlText value, string expectedAttributeValue)
        {
            _testClass.EnumTextProperty = new RedactEnumText { Value = value };

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

            Assert.That(xml, Contains.Substring(string.Format("<EnumTextProperty>{0}</EnumTextProperty>", expectedAttributeValue)));
        }