public void TestFormatting(WriteStyle style, string value, string expected) { TestRichTextLogger logger = new TestRichTextLogger(); logger.Write(style, value); logger.RichTextBuffer.Should().Be(expected); }
public void TestEscaping(string value, string expected) { TestRichTextLogger logger = new TestRichTextLogger(); logger.TestEscaping(value).Should().Be(expected); }