Catel.Test.EnumFacts.TheGetNameMethod.ReturnsNameForIntEnumValue C# (CSharp) Méthode

ReturnsNameForIntEnumValue() private méthode

private ReturnsNameForIntEnumValue ( ) : void
Résultat void
            public void ReturnsNameForIntEnumValue()
            {
                var name = Enum<Enum1>.GetName(2);

                Assert.AreEqual("MySecondValue", name);
            }
        }
EnumFacts.TheGetNameMethod