BusinessLogic.Tests.UnitTests.LogicTests.PlayersTests.PlayerSaverTests.UpdatePlayerTests.ItDoesntBotherUpdatingIfNothingWasRequestedToBeUpdated C# (CSharp) Метод

ItDoesntBotherUpdatingIfNothingWasRequestedToBeUpdated() приватный Метод

private ItDoesntBotherUpdatingIfNothingWasRequestedToBeUpdated ( ) : void
Результат void
        public void ItDoesntBotherUpdatingIfNothingWasRequestedToBeUpdated()
        {
            var updatePlayerRequest = new UpdatePlayerRequest
            {
                Name = null,
                PlayerId = PLAYER_ID,
                Active = null
            };

            _autoMocker.ClassUnderTest.UpdatePlayer(updatePlayerRequest, _currentUser);

            _autoMocker.ClassUnderTest.AssertWasNotCalled(
                mock => mock.Save(Arg<Player>.Is.Anything,
                    Arg<ApplicationUser>.Is.Same(_currentUser)));
        }
    }