public void Does_Enumconversion_translate() { var conversion = new NullableEnumConversion { Color = Color.Green }; var conversionDto = conversion.TranslateTo <EnumConversionDto>(); Assert.That(conversionDto.Color, Is.EqualTo(OtherColor.Green)); }
public void Does_Enumconversion_translate() { var conversion = new NullableEnumConversion { Color = Color.Green }; var conversionDto = conversion.TranslateTo<EnumConversionDto>(); Assert.That(conversionDto.Color, Is.EqualTo(OtherColor.Green)); }