BusinessLogic.Tests.UnitTests.LogicTests.UsersTests.GamingGroupContextSwitcherTests.SwitchGamingGroupContextTests.ItDoesNotSaveIfTheUserIsAlreadySetToThatGamingGroup C# (CSharp) Method

ItDoesNotSaveIfTheUserIsAlreadySetToThatGamingGroup() private method

        public void ItDoesNotSaveIfTheUserIsAlreadySetToThatGamingGroup()
        {
            contextSwitcher.SwitchGamingGroupContext(currentUser.CurrentGamingGroupId, currentUser);

            dataContextMock.AssertWasNotCalled(mock => mock.Save(Arg<ApplicationUser>.Is.Anything, Arg<ApplicationUser>.Is.Anything));
        }