Catel.Test.StringToObjectHelperFacts.TheGetValueAsEnumMethod.ReturnsRightValueForValidValue C# (CSharp) Метод

ReturnsRightValueForValidValue() приватный Метод

private ReturnsRightValueForValidValue ( ) : void
Результат void
            public void ReturnsRightValueForValidValue()
            {
                var enumValue = StringToObjectHelper.ToEnum("Value2", TestEnum.Value3);

                Assert.AreEqual(TestEnum.Value2, enumValue);
            }
        }
StringToObjectHelperFacts.TheGetValueAsEnumMethod