Exemplo n.º 1
0
        public void DownloadInstaller_DownloadFails_ReturnFalse()
        {
            _fileDownloader.Setup(fd => fd.Download(It.IsAny <string>(), It.IsAny <string>())).Throws <WebException>();

            var result = _installerHelper.DownloadFile("customer", "installer");

            Assert.That(result, Is.False);
        }