public void ShouldCreteTagGroupForOneTagTests() { string html = "<abbr title=\'Side tank\'>T</abbr>"; string[] array = HTMLRemover.CreateTagGroups(html); array.Should().HaveCount(1); array[0].Should().Be(html); }
public void ShouldCreteTagGroupForTwoTagTests() { string html = "<span class=\'nowrap\'></span><abbr title=\'Side tank\'>T</abbr>"; string[] array = HTMLRemover.CreateTagGroups(html); array.Should().HaveCount(2); array[0].Should().Be("<span class=\'nowrap\'></span>"); array[1].Should().Be("<abbr title=\'Side tank\'>T</abbr>"); }