public void TestConvertToRtfSlash()
        {
            var result = RichTextToPlainText.ConvertToRtf(@"Brian\Benny!");

            Assert.IsTrue(result.Contains(@"Brian\\Benny!"));
            result = RichTextToPlainText.ConvertToText(result);
            Assert.IsTrue(result.Trim() == @"Brian\Benny!");
        }
        public void TestConvertToRtfCurlyBracketEnd()
        {
            var result = RichTextToPlainText.ConvertToRtf(@"Brian}Benny!");

            Assert.IsTrue(result.Contains(@"Brian\}Benny!"));
            result = RichTextToPlainText.ConvertToText(result);
            Assert.IsTrue(result.Trim() == @"Brian}Benny!");
        }