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