public void GetDisplayName__GivenTestEnum_ShouldReturnEnumNameString() { string expected = "Default"; TestEnum testEnum = TestEnum.Default; string enumName = testEnum.GetDisplayName(); Assert.Equal(enumName, expected); }
public void GetDisplayName__GivenTestEnum_ShouldReturnEnumNameString() { string expected = "Default"; TestEnum testEnum = TestEnum.Default; string enumName = testEnum.GetDisplayName(); Assert.Equal(enumName, expected); }