public void expect_line_break_html_tag_when_passing_in_break_flag_with_title() { var link = new JetNettApi.Models.Link() {Title = "this is something special [break]"}; Assert.AreEqual("<br/>", LinkRenderer.GetLinkExtra(link)); }
public void expect_empty_string_when_passing_in_title_with_no_flags() { var link = new JetNettApi.Models.Link() {Title = "Nothing special, just a title"}; Assert.AreEqual("",LinkRenderer.GetLinkExtra(link)); }