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