public void op_Download_AbsoluteUri()
        {
            var expected = new FileInfo("example.xml").ReadToEnd();
            var actual   = XmlUriAttribute.Download("http://www.alan-dean.com/example.xml").ReadToEnd();

            Assert.Equal(expected, actual);
        }
 public void op_Download_AbsoluteUriNull()
 {
     Assert.Throws <ArgumentNullException>(() => XmlUriAttribute.Download(null));
 }
 public void op_Download_AbsoluteUriNotFound()
 {
     Assert.Throws <WebException>(() => XmlUriAttribute.Download("http://www.alan-dean.com/missing.xml"));
 }