BusinessLogic.Tests.UnitTests.LogicTests.PlayersTests.PlayerRetrieverTests.GetAllPlayersWithNemesisInfoTests.ItOnlyReturnsPlayersForTheGivenGamingGroup C# (CSharp) Method

ItOnlyReturnsPlayersForTheGivenGamingGroup() private method

private ItOnlyReturnsPlayersForTheGivenGamingGroup ( ) : void
return void
        public void ItOnlyReturnsPlayersForTheGivenGamingGroup()
        {
            var players = autoMocker.ClassUnderTest.GetAllPlayersWithNemesisInfo(gamingGroupId);

            Assert.True(players.All(player => player.GamingGroupId == gamingGroupId));
        }