示例#1
0
        public void InitializeTest()
        {
            List <Message> myMessages = new List <Message>();

            myMessages.Add(new Message("3", "willy", "nice to meet you"));
            myMessages.Add(new Message("4", "amy", "nice to meet you too"));

            _chatroom.Initialize(myMessages);
            Assert.AreEqual(_chatroom.MessageList, myMessages);
        }