示例#1
0
        public async Task DetailShouldReturnAPaymentWithProcessedBody()
        {
            var view  = await _paymentController.Detail("slug", null, null) as ViewResult;;
            var model = view.ViewData.Model as PaymentSubmission;

            model.Payment.Should().Be(_processedPayment);
        }