public override void Given() { _folderName = BlobStorageConstants.ResultsFolderName; _fileName = DocumentResource.TlevelDataFormatAndRulesGuide.Results_Data_Format_And_Rules_Guide_File_Name_Text; DocumentLoader.GetTechSpecFileAsync(_folderName, _fileName) .Returns(new MemoryStream(Encoding.ASCII.GetBytes("Test File for assessment entries tech spec"))); }
public override void Given() { _memoryStream = null; DocumentLoader.GetTechSpecFileAsync(Arg.Any <string>(), Arg.Any <string>()) .Returns(_memoryStream); }