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(); }
public WhenAUserMessagesAnotherUserNotInTheSameRoom() { _sendResult = Messaging1.SendMessage(Account2.AccountId, _message); Thread.Sleep(1000); _messages = Messaging2.GetMessages(); }