Beispiel #1
0
        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);
        }
Beispiel #2
0
 public async Task <bool> CreateZipFileForExchangeSet(string batchId, string exchangeSetZipRootPath, string correlationId)
 {
     return(await fileShareService.CreateZipFileForExchangeSet(batchId, exchangeSetZipRootPath, correlationId));
 }