public void GetSearchResultTest() { var html = TestData.JobPostingRow; var doc = new HtmlDocument(); doc.OptionOutputAsXml = true; doc.LoadHtml(html); var actual = _target.GetSearchResult(doc.DocumentNode.CssSelect(".can-apply").First()).Result; Assert.IsInstanceOfType(actual, typeof(SearchResult)); }