public void TestIncorrectSize() { var download = new DownloadMemory(Server.FileUri, bytesTotal: 1024); download.Invoking(x => x.Run()).ShouldThrow<WebException>(); }
public void TestIncorrectSize() { var download = new DownloadMemory(Server.FileUri, bytesTotal: 1024); download.Invoking(x => x.Run()).ShouldThrow <WebException>(); }
public void TestFileMissing() { var download = new DownloadMemory(new Uri(Server.ServerUri, "wrong")); download.Invoking(x => x.Run()).ShouldThrow<WebException>(); }
public void TestFileMissing() { var download = new DownloadMemory(new Uri(Server.ServerUri, "wrong")); download.Invoking(x => x.Run()).ShouldThrow <WebException>(); }