public void OtherStatusStringToEnumTest() { var statusString = "Anything else"; var actual = EnumStringMap.ToEnum(statusString); var expected = Status.Other; Assert.Equal(expected, actual); }
public void PendingStatusStringToEnumTest() { var statusString = Constants.Pending; var actual = EnumStringMap.ToEnum(statusString); var expected = Status.Pending; Assert.Equal(expected, actual); }
public void ApprovedStatusStringToEnumTest() { var statusString = Constants.Approved; var actual = EnumStringMap.ToEnum(statusString); var expected = Status.Approved; Assert.Equal(expected, actual); }