BusinessLogic.Tests.UnitTests.LogicTests.SecurityTests.LinkedPlayedGameValidatorTests.ValidateTests.CreateExpectedApplicationLinkage C# (CSharp) Method

CreateExpectedApplicationLinkage() private method

private CreateExpectedApplicationLinkage ( string overrideApplicationName = null, string overrideEntityId = null, int overrideGamingGroupId = null ) : PlayedGameApplicationLinkage
overrideApplicationName string
overrideEntityId string
overrideGamingGroupId int
return PlayedGameApplicationLinkage
        private PlayedGameApplicationLinkage CreateExpectedApplicationLinkage(
            string overrideApplicationName = null, 
            string overrideEntityId = null,
            int? overrideGamingGroupId = null)
        {
            return new PlayedGameApplicationLinkage
            {
                ApplicationName = overrideApplicationName ?? _expectedApplicationName,
                EntityId = overrideEntityId ?? _expectedEntityId,
                PlayedGame = new PlayedGame
                {
                    GamingGroupId = overrideGamingGroupId ?? _expectedGamingGroupId
                }
            };
        }