public async Task WhenValidSearchReadMeFileRequest_ThenReturnFilePath() { string batchId = "7b4cdf10-adfa-4ed6-b2fe-d1543d8b7272"; string exchangeSetRootPath = @"batch/" + batchId + "/files/README.TXT"; A.CallTo(() => fakefileShareService.SearchReadMeFilePath(A <string> .Ignored, A <string> .Ignored)).Returns(exchangeSetRootPath); var result = await fulfilmentFileShareService.SearchReadMeFilePath(batchId, null); Assert.IsNotEmpty(result); }
public async Task <string> SearchReadMeFilePath(string batchId, string correlationId) { return(await fileShareService.SearchReadMeFilePath(batchId, correlationId)); }