Exemplo n.º 1
0
        public void PlayersCanStartAChatWithAnotherPlayer()
        {
            CreateMessageGroupRequest request = new CreateMessageGroupRequest()
            {
                RoomId = gameId,
            };

            request.UserIdsInGroup.Add(authHelper.getAccountId(playerTwoInGame));
            request.UserIdsInGroup.Add(authHelper.getAccountId(playerOneInGame));

            CreateMessageGroupResponse groupResponse = client.CreateMessageGroup(request);

            Assert.AreEqual(groupResponse.Status.IsSuccess, true);
            Assert.IsTrue(groupResponse.GroupId != null);
        }