Ejemplo n.º 1
0
        public async Task Post_ApplicationFundingDeclined_Credits_Pledge()
        {
            await _controller.ApplicationFundingDeclined(_request);

            _mediator.Verify(x =>
                             x.Send(It.Is <CreditPledgeCommand>(c => c.PledgeId == _request.PledgeId && c.Amount == _request.Amount && c.ApplicationId == _request.ApplicationId),
                                    It.IsAny <CancellationToken>()));
        }