コード例 #1
0
        public void Can_redeem_bonus_with_matched_auto_generate_tier(int depositAmount, int expectedRedemptionsAmount)
        {
            CreateBonusWithHighDepositTiers();
            MakeDeposit(PlayerId, depositAmount);

            BonusRedemptions.All(br => br.ActivationState == ActivationStatus.Activated).Should().BeTrue();
            BonusRedemptions.Sum(br => br.Amount).Should().Be(expectedRedemptionsAmount);
        }