public void CheckDownloadingOfAFile()
        {
            var webclass = new WebClass();

            var tempPath = ProductChecksTests.Path("");
            const string fileName = "20000152_290_FR01_11.JPG";
            const string url = "http://www.louis.de/shop/img450/20000152_290_FR01_11.JPG";

            webclass.DownloadFile(url, tempPath, fileName);

            var fileInfo = new FileInfo(tempPath + fileName);

            Assert.That(fileInfo.Exists, Is.True);
            Assert.That(fileInfo.Length, Is.GreaterThan(0));

            fileInfo.Delete();
        }
 public void CheckDownloadingOfAFileWithoutAPathAndFilename()
 {
     var webclass = new WebClass();
     Assert.That(webclass.DownloadFile("", "", ""), Is.False);
 }