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