Esempio n. 1
0
            public void StatusOk()
            {
                var response = new SagePay.Response.PaymentResponse();
                response.Status = SagePay.Response.ResponseStatus.OK;

                Assert.True(response.IsValid());
            }
Esempio n. 2
0
            public void StatusElse(ResponseStatus status)
            {
                var response = new SagePay.Response.PaymentResponse();
                response.Status = status;

                Assert.False(response.IsValid());
            }