예제 #1
0
 public static void EscapesNullControlChars()
 {
     Assert.That(MsgUtils.EscapeNullCharacters("\0"), Is.EqualTo("\\0"));
 }
예제 #2
0
 public static void DoNotEscapeNonNullControlChars(string input, string expected)
 {
     Assert.That(MsgUtils.EscapeNullCharacters(input), Is.EqualTo(expected));
 }