public async Task WhenValidCreateZipFileRequest_ThenReturnTrue() { fakeIsZipFileCreated = true; A.CallTo(() => fakefileShareService.CreateZipFileForExchangeSet(A <string> .Ignored, A <string> .Ignored, A <string> .Ignored)).Returns(fakeIsZipFileCreated); fakeIsZipFileCreated = await fulfilmentFileShareService.CreateZipFileForExchangeSet(fakeBatchId, fakeExchangeSetRootPath, null); Assert.AreEqual(true, fakeIsZipFileCreated); }
public async Task <bool> CreateZipFileForExchangeSet(string batchId, string exchangeSetZipRootPath, string correlationId) { return(await fileShareService.CreateZipFileForExchangeSet(batchId, exchangeSetZipRootPath, correlationId)); }