示例#1
0
        public void GetXmlNameWithoutAttributeGetsEnumValue()
        {
            var result = PEXAService.TryGetXmlName(TestEnum.ValueWithoutXmlEnumAttribute);

            Assert.Equal("ValueWithoutXmlEnumAttribute", result);
        }
示例#2
0
        public void CanGetXmlEnumName()
        {
            var result = PEXAService.TryGetXmlName(TestEnum.ValueWithXmlEnumAttribute);

            Assert.Equal("Value With Xml Enum Attribute", result);
        }