BusinessLogic.Tests.UnitTests.LogicTests.UsersTests.GamingGroupInviteConsumerTests.AddNewUserToGamingGroupTests.ItUpdatesThePlayersApplicationUserId C# (CSharp) Method

ItUpdatesThePlayersApplicationUserId() private method

private ItUpdatesThePlayersApplicationUserId ( ) : void
return void
        public void ItUpdatesThePlayersApplicationUserId()
        {
            BuildDataContextMock(true, true, true);

            gamingGroupInviteConsumer.AddNewUserToGamingGroup(currentUser.Id, invitationId);

            dataContextMock.AssertWasCalled(mock => mock.Save(Arg<Player>.Matches(
                player => player.ApplicationUserId == currentUser.Id),
                Arg<ApplicationUser>.Is.Anything));
        }