public void WebMethodGetsCorrectResponseTest() { var api = new MetApi(); var resp = api.GetHtml(); Assert.IsTrue(resp.IndexOf("search-results-container") > 0); }
public void GetRandomPageTest() { var api = new MetApi(); api.GetRandomPage(); Assert.IsTrue(api.GetHtml().IndexOf("search-results-container") > 0); }
public void WebMethodGetsResponseTest() { var api = new MetApi(); Assert.IsTrue(api.GetHtml().Length > 0); }