public async Task Post_DebitApplicationRequest_Debits_Application() { await _controller.DebitApplication(_request); _mediator.Verify(x => x.Send(It.Is <DebitApplicationCommand>(c => c.ApplicationId == _request.ApplicationId && c.Amount == _request.Amount && c.NumberOfApprentices == _request.NumberOfApprentices), It.IsAny <CancellationToken>())); }