public void StatusOk() { var response = new SagePay.Response.PaymentResponse(); response.Status = SagePay.Response.ResponseStatus.OK; Assert.True(response.IsValid()); }
public void StatusElse(ResponseStatus status) { var response = new SagePay.Response.PaymentResponse(); response.Status = status; Assert.False(response.IsValid()); }