public void TestURLFail() { RetrieveStoryModel rsm = new RetrieveStoryModel(); rsm.Url = "http:\\host/path/file"; Assert.IsFalse(rsm.testURL()); }
public void TestUrlPass() { RetrieveStoryModel rsm = new RetrieveStoryModel(); rsm.Url = "https://www.google.co.uk/"; Assert.IsTrue(rsm.testURL()); }