public async Task Handle() { _result = await _handler.Handle(_query, new CancellationToken()); }
public async Task ThenTheCommitmentRepositoryIsCalled() { await _handler.Handle(_exampleValidRequest); _mockApprenticeshipRespository.Verify(x => x.GetApprenticeship(It.IsAny <long>()), Times.Once); }