public void ReplaceTextSpans_WhenEverythingIsConvertedToX_OutputContainsOnlyX_CheckedWithTreeWalk()
{
var tree1 = BBCodeTestUtil.GetAnyTree();
var tree2 = BBCode.ReplaceTextSpans(tree1, txt => new[] { new TextSpanReplaceInfo(0, txt.Length, new TextNode("x")), }, null);
new TextAssertVisitor(str => Assert.IsTrue(str == "x")).Visit(tree2);
}