public async Task Each_Store_Data_Is_Downloaded()
        {
            await foreach (var i in _paths1)
            {
                Share1.Verify(s => s.DownloadAsync(It.Is <string>(x => x == $"{i}/metadata.json"), It.IsAny <CancellationToken>()), Times.Once);
            }

            await foreach (var i in _paths2)
            {
                Share2.Verify(s => s.DownloadAsync(It.Is <string>(x => x == $"{i}/metadata.json"), It.IsAny <CancellationToken>()), Times.Once);
            }
        }
 public void Each_Store_Is_Searched()
 {
     Share1.Verify(s => s.ListAsync(It.IsAny <DatePathFilter>(), It.IsAny <CancellationToken>()), Times.Once);
     Share2.Verify(s => s.ListAsync(It.IsAny <DatePathFilter>(), It.IsAny <CancellationToken>()), Times.Once);
 }
 public void Download_Is_Not_Attempted()
 {
     Share1.Verify(s => s.DownloadAsync(It.IsAny <string>(), It.IsAny <CancellationToken>()), Times.Never);
     Share2.Verify(s => s.DownloadAsync(It.IsAny <string>(), It.IsAny <CancellationToken>()), Times.Never);
 }
 public void Directory_Is_Checked_For_Existence()
 {
     Share1.Verify(s => s.ExistsAsync(It.Is <string>(x => x == Input), It.IsAny <CancellationToken>()), Times.Once);
     Share2.Verify(s => s.ExistsAsync(It.Is <string>(x => x == Input), It.IsAny <CancellationToken>()), Times.Once);
 }
 public void No_Data_Is_Downloaded()
 {
     Share1.Verify(f => f.DownloadAsync(It.IsAny <string>(), It.IsAny <CancellationToken>()), Times.Never);
     Share2.Verify(f => f.DownloadAsync(It.IsAny <string>(), It.IsAny <CancellationToken>()), Times.Never);
 }