public void CanLoadStringFromURL() { JSONModel model = new JSONModel(); string expected = LoadTestStringFromURL(); string result = JSONModel.LoadStringFromURL(testURL); Assert.AreEqual(expected, result); }
public void LoadStringThrowsWithBadURL() { JSONModel model = new JSONModel(); string result = JSONModel.LoadStringFromURL("bad"); }