public async Task ThenMediatorIsCalledToRetrievePriceHistory() { //Act await _orchestrator.GetApprenticeshipMismatchDataLock(1, "TEST"); //Assert _mediator.Verify(x => x.Send(It.IsAny <GetApprenticeshipPriceHistoryQueryRequest>(), It.IsAny <CancellationToken>()), Times.Once); }
public async Task <ActionResult> UpdateDataLock(long providerId, string hashedApprenticeshipId) { var model = await _orchestrator.GetApprenticeshipMismatchDataLock(providerId, hashedApprenticeshipId); return(View("UpdateDataLock", model)); }