public void EmboldenTitles() { Parsers Parser = new Parsers(); Article a = new Article("a", @"A [[B]]"); a.EmboldenTitles(Parser, true); Assert.IsTrue(a.ArticleText.Contains("[[B]]")); }