Exemplo n.º 1
0
        public WhenAUserMessagesAnotherUser()
        {
            var room = Messaging1.CreateRoom(DateTime.Now.Ticks.ToString(CultureInfo.InvariantCulture));

            Messaging1.JoinRoom(room.Id);
            Messaging2.JoinRoom(room.Id);

            Messaging1.SendMessage(Account2.AccountId, _message);
            Thread.Sleep(1000);
            _messages = Messaging2.GetMessages();
        }
Exemplo n.º 2
0
 public WhenAUserMessagesAnotherUserNotInTheSameRoom()
 {
     _sendResult = Messaging1.SendMessage(Account2.AccountId, _message);
     Thread.Sleep(1000);
     _messages = Messaging2.GetMessages();
 }