public void ShouldSerializeEnumValuesIntoCodeDescription()
        {
            var resultado = ConstantSerializer.SerializeEnumToCode(typeof(ValuesToTest), true, true);

            Assert.Equal(@"[
  {
    ""code"": ""Value1"",
    ""description"": ""Value1""
  },
  {
    ""code"": ""VALUE2"",
    ""description"": ""Value2""
  },
  {
    ""code"": ""Value3"",
    ""description"": ""The Value Is Three""
  }
]", resultado);
        }
        public void ShouldSerializeEnumValuesIntoIdName()
        {
            var resultado = ConstantSerializer.SerializeEnum(typeof(ValuesToTest), true, true);

            Assert.Equal(@"[
  {
    ""id"": 1,
    ""name"": ""Value1""
  },
  {
    ""id"": 2,
    ""name"": ""Value2""
  },
  {
    ""id"": 3,
    ""name"": ""The Value Is Three""
  }
]", resultado);
        }