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); }
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); }