BusinessLogic.Tests.UnitTests.LogicTests.PlayedGamesTests.PlayedGameSaverTests.CreatePlayedGameTests.It_Doesnt_Bother_Validating_The_Gaming_Group_If_It_Wasnt_Explicitly_Set C# (CSharp) Метод

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

        public void It_Doesnt_Bother_Validating_The_Gaming_Group_If_It_Wasnt_Explicitly_Set()
        {
            //--arrange
            var newlyCompletedPlayedGame = CreateValidNewlyCompletedGame();

            //--act
            autoMocker.ClassUnderTest.CreatePlayedGame(newlyCompletedPlayedGame, TransactionSource.WebApplication, currentUser);

            //--assert
            autoMocker.Get<ISecuredEntityValidator>().AssertWasNotCalled(mock => mock.RetrieveAndValidateAccess<GamingGroup>(Arg<int>.Is.Anything, Arg<ApplicationUser>.Is.Anything));
        }