Ejemplo n.º 1
0
        public void Should_create_join_message_correctly()
        {
            var joinMessage = MessageParser.CreateJoinMessage(ExampleMessages.UserJoinChannel);

            Assert.That(joinMessage.Channel.Name, Is.EqualTo(ExampleMessages.Channel));
            Assert.That(joinMessage.User.Name, Is.EqualTo(ExampleMessages.UserName));
            Assert.That(joinMessage.User.HostMask, Is.EqualTo(ExampleMessages.HostMask));
        }