示例#1
0
 public void Should_parse_user_correctly()
 {
     inputMessages.ForEach(x =>
     {
         var assertMessage = string.Format("When: {0}", x);
         AssertStringIsIn(MessageParser.GetUser(x).Name, new string[] { "UserNick", "" }, assertMessage);
         AssertStringIsIn(MessageParser.GetHostmask(x), new string[] { "[email protected]", "" }, assertMessage);
     });
 }