Beispiel #1
0
        public void Fraudulent_player_has_no_claimable_bonuses()
        {
            var bonus = CreateFirstDepositBonus(mode: IssuanceMode.ManualByPlayer);

            MakeDeposit(PlayerId, bonusId: bonus.Id);

            BonusRedemptions.Count.Should().Be(1);
            DisableBonusesForPlayer(PlayerId);

            BonusQueries.GetClaimableRedemptions(PlayerId).Should().BeEmpty();
        }
 public List <BonusRedemption> GetClaimableRedemptions(Guid playerId)
 {
     return(_bonusQueries.GetClaimableRedemptions(playerId));
 }