public async Task Should_invoke_asset_store_to_download_archive() { var stream = new MemoryStream(); await sut.DownloadAsync(appId, stream); A.CallTo(() => assetStore.DownloadAsync(fileName, stream, default, CancellationToken.None))
public async Task Should_invoke_asset_store_to_download_archive(bool folderPerApp) { var stream = new MemoryStream(); options.FolderPerApp = folderPerApp; var fileName = GetFileName(folderPerApp); await sut.DownloadAsync(appId, stream); A.CallTo(() => assetStore.DownloadAsync(fileName, stream, default, CancellationToken.None))