public void Parse_BadValues_Throws() { string input = "D\rigest qop=\"auth\",algorithm=MD5-sess,charset=utf-8,realm=\"Digest\""; Assert.Throws<FormatException>(() => { AuthenticationHeaderValue.Parse(input); }); }