Example #1
0
 static void DownloadWithStrategy(string url, IDownloadProtocol strategy)
 {
     new FileDownloader(new[] { strategy }, A.Fake <IAuthProvider>()).Download(url, TestFile.ToAbsoluteFilePath());
 }
Example #2
0
 static void DownloadWithStrategy(string url, IDownloadProtocol strategy) {
     new FileDownloader(new[] {strategy}, A.Fake<IAuthProvider>()).Download(url, TestFile.ToAbsoluteFilePath());
 }