Example #1
0
        public void SetUp()
        {
            _downloadFilesQueue = new DownloadFilesQueue();
            _fileDownloader     = Substitute.For <IFileDownloader>();
            _fileUnzipper       = Substitute.For <IFileUnzipper>();
            TestObj             = new DownloadPipe(_fileDownloader, _fileUnzipper, _downloadFilesQueue);

            _downloadFilesQueue.AddToDownload(DL1);
            _downloadFilesQueue.Next();
        }
 public void AddToDownload__AddsNewDownload()
 {
     TestObj.AddToDownload(DL1);
 }