コード例 #1
0
        public async Task Post_ApplicationApprovedReceiverNotificationRequest()
        {
            await _controller.ApplicationApprovedReceiverNotification(_request);

            _mediator.Verify(x =>
                             x.Send(It.Is <ReceiverApplicationApprovedEmailCommand>(c => c.PledgeId == _request.PledgeId && c.ApplicationId == _request.ApplicationId && c.BaseUrl == _request.BaseUrl &&
                                                                                    c.ReceiverEncodedAccountId == _request.ReceiverEncodedAccountId && c.ReceiverId == _request.ReceiverId),
                                    It.IsAny <CancellationToken>()));
        }