Beispiel #1
0
        public void op_Download_AbsoluteUri()
        {
            const string expected = "A1";
            var          actual   = TsvHttpAttribute.Download("http://www.alan-dean.com/example.tsv").First()["A"];

            Assert.Equal(expected, actual);
        }
Beispiel #2
0
 public void op_Download_AbsoluteUriNull()
 {
     Assert.Throws <ArgumentNullException>(() => TsvHttpAttribute.Download(null));
 }
Beispiel #3
0
 public void op_Download_AbsoluteUriNotFound()
 {
     Assert.Throws <WebException>(() => TsvHttpAttribute.Download("http://www.alan-dean.com/missing.tsv"));
 }