Beispiel #1
0
        public void ToMappingDictionary_CheckValues(StandardEnumWithNull keyToCheck, string expectedValue)
        {
            var dict = EnumTranslator.ToMappingDictionary <StandardEnumWithNull>();

            Assert.That(dict, Does.ContainKey(keyToCheck));
            Assert.That(dict[keyToCheck], Is.EqualTo(expectedValue));
        }