public void GetParagraphsTest() { //checks if when receiving html with at least one paragraph tag in it, that paragraph is added to the list Assert.IsTrue(HtmlUtility.GetParagraphs("<p> abc </p>").Count == 1); //checks if when receiving html with no paragraphs the list is empty Assert.IsTrue(HtmlUtility.GetParagraphs(" Sample text ").Count == 0); }