public void CreateAndDelete()
 {
     var Temp = new Utilities.IO.FileSystem.Default.WebDirectory("http://www.google.com");
     Assert.Throws<WebException>(() => Temp.Create());
     Assert.True(Temp.Exists);
     Assert.Throws<WebException>(() => Temp.Delete());
     Assert.True(Temp.Exists);
 }
Exemple #2
0
        public void CreateAndDelete()
        {
            var Temp = new Utilities.IO.FileSystem.Default.WebDirectory("http://www.google.com");

            Assert.Throws <WebException>(() => Temp.Create());
            Assert.True(Temp.Exists);
            Assert.Throws <WebException>(() => Temp.Delete());
            Assert.True(Temp.Exists);
        }