Ejemplo n.º 1
0
 public void TestIncorrectSize()
 {
     var download = new DownloadMemory(Server.FileUri, bytesTotal: 1024);
     download.Invoking(x => x.Run()).ShouldThrow<WebException>();
 }
Ejemplo n.º 2
0
        public void TestIncorrectSize()
        {
            var download = new DownloadMemory(Server.FileUri, bytesTotal: 1024);

            download.Invoking(x => x.Run()).ShouldThrow <WebException>();
        }
Ejemplo n.º 3
0
 public void TestFileMissing()
 {
     var download = new DownloadMemory(new Uri(Server.ServerUri, "wrong"));
     download.Invoking(x => x.Run()).ShouldThrow<WebException>();
 }
Ejemplo n.º 4
0
        public void TestFileMissing()
        {
            var download = new DownloadMemory(new Uri(Server.ServerUri, "wrong"));

            download.Invoking(x => x.Run()).ShouldThrow <WebException>();
        }