BusinessLogic.Tests.UnitTests.DataAccessTests.SecurityTests.SecuredEntityValidatorTests.ValidateAccessTests.When_Calling_Validate_Access_And_Passing_An_Entity.ItDoesNotThrowAnExceptionIfTheEntityDoesNotHaveAGamingGroupIdSet C# (CSharp) Метод

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

private ItDoesNotThrowAnExceptionIfTheEntityDoesNotHaveAGamingGroupIdSet ( ) : void
Результат void
            public void ItDoesNotThrowAnExceptionIfTheEntityDoesNotHaveAGamingGroupIdSet()
            {
                _currentUser.CurrentGamingGroupId = 50;
                _securedEntity.GamingGroupId = 0;

                _autoMocker.ClassUnderTest.RetrieveAndValidateAccess<GameDefinition>(_securedEntityId, _currentUser);
            }