public void Then_Expected_Method_IsCalled() { BlobStorageService.Received(1).DownloadFileAsync(Arg.Is <BlobStorageData>(x => x.ContainerName == DocumentType.Documents.ToString() && x.BlobFileName == FileName && x.SourceFilePath == $"{BlobStorageConstants.TechSpecFolderName}/{FolderName}")); }
public void Then_Expected_Methods_Called() { InternalApiClient.Received(1).ProcessBulkResultsAsync(BulkResultRequest); BlobStorageService.Received(1).UploadFileAsync(Arg.Any <BlobStorageData>()); Mapper.Received().Map <BulkProcessRequest>(UploadResultsRequestViewModel); }
public void Then_Expected_Methods_Called() { BlobStorageService.Received(1).UploadFileAsync(Arg.Any <BlobStorageData>()); }
public void Then_Expected_Methods_Called() { InternalApiClient.Received(1).GetDocumentUploadHistoryDetailsAsync(Ukprn, BlobUniqueReference); BlobStorageService.Received(1).DownloadFileAsync(Arg.Any <BlobStorageData>()); }