BusinessLogic.Tests.IntegrationTests.LogicTests.PlayedGamesTests.GetPlayedGameDetailsIntegrationTests.ItEagerlyFetchesThePlayers C# (CSharp) Метод

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

private ItEagerlyFetchesThePlayers ( ) : void
Результат void
        public void ItEagerlyFetchesThePlayers()
        {
            using (NemeStatsDbContext dbContext = new NemeStatsDbContext())
            {
                dbContext.Configuration.LazyLoadingEnabled = false;
                using (NemeStatsDataContext dataContext = new NemeStatsDataContext(dbContext, securedEntityValidatorFactory))
                {
                    PlayedGame playedGame = GetTestSubjectPlayedGame(dataContext);
                    Assert.NotNull(playedGame.PlayerGameResults[0].Player);
                }
            }
        }