public void Then_Expected_Methods_AreCalled()
 {
     ResultLoader.Received(1).AddCoreResultAsync(AoUkprn, ViewModel);
     CacheService.Received(1).SetAsync(string.Concat(CacheKey, Constants.ResultConfirmationViewModel),
                                       Arg.Is <ResultConfirmationViewModel>
                                           (x => x.ProfileId == ViewModel.ProfileId &&
                                           x.Uln == AddResultResponse.Uln),
                                       CacheExpiryTime.XSmall);
 }
 public void Then_Expected_Methods_Called()
 {
     ResultLoader.Received(1).FindUlnResultsAsync(AoUkprn, SearchUln.ToLong());
 }
 public void Then_Expected_Methods_Called()
 {
     ResultLoader.Received(1).ProcessBulkResultsAsync(ViewModel);
 }
 public void Then_Expected_Methods_Called()
 {
     ResultLoader.Received(1).GetResultValidationErrorsFileAsync(Ukprn, Id.ToGuid());
 }