BusinessLogic.Tests.UnitTests.LogicTests.AchievementTests.PunisherAchievementTests.ItAwardsGoldWhenPlayerHasExactlyGoldNumberOfPlayedGames C# (CSharp) Method

ItAwardsGoldWhenPlayerHasExactlyGoldNumberOfPlayedGames() private method

        public void ItAwardsGoldWhenPlayerHasExactlyGoldNumberOfPlayedGames()
        {
            //--arrange
            SetupGamesForPlayer(_playerId, _autoMocker.ClassUnderTest.LevelThresholds[AchievementLevel.Gold]);

            //--act
            var results = _autoMocker.ClassUnderTest.IsAwardedForThisPlayer(_playerId);

            //--assert
            Assert.That(results.LevelAwarded, Is.EqualTo(AchievementLevel.Gold));
        }