public void CanConvertEnumIntoFriendlyString(TestTypes value, string expected) { // Arrange/Act var actual = value.ToFriendlyString(); // Assert Assert.That(actual, Is.Not.Null.And.EqualTo(expected)); }
public void CanConvertEnumIntoFriendlyString(TestTypes value, string expected) { // Arrange/Act var actual = value.ToFriendlyString(); // Assert Assert.NotNull(actual); Assert.Equal(expected, actual); }
public string CanConvertEnumIntoFriendlyString(TestTypes value) { return(value.ToFriendlyString()); }