示例#1
0
 public async Task Handle()
 {
     _result = await _handler.Handle(_query, new CancellationToken());
 }
示例#2
0
        public async Task ThenTheCommitmentRepositoryIsCalled()
        {
            await _handler.Handle(_exampleValidRequest);

            _mockApprenticeshipRespository.Verify(x => x.GetApprenticeship(It.IsAny <long>()), Times.Once);
        }