예제 #1
0
		public void WebMethodGetsCorrectResponseTest()
		{
			var api = new MetApi();

			var resp = api.GetHtml();
			Assert.IsTrue(resp.IndexOf("search-results-container") > 0);
		}
예제 #2
0
		public void GetRandomPageTest()
		{
			var api = new MetApi();
			
			api.GetRandomPage();

			Assert.IsTrue(api.GetHtml().IndexOf("search-results-container") > 0);
		}
예제 #3
0
		public void WebMethodGetsResponseTest()
		{
			var api = new MetApi();
			Assert.IsTrue(api.GetHtml().Length > 0);
		}