Пример #1
0
        public async void Can_get_deposit_qualified_bonuses()
        {
            var bonusWithCode = CreateFirstDepositBonus(mode: IssuanceMode.AutomaticWithCode);
            var bonusManual   = CreateFirstDepositBonus(mode: IssuanceMode.ManualByPlayer);

            var result = await ApiProxy.GetDepositQualifiedBonusesAsync(_player.Id);

            result.Should().NotBeEmpty();
            result.Any(b => b.Name == bonusManual.Name).Should().BeTrue();
            result.Any(b => b.Name == bonusWithCode.Name).Should().BeTrue();
        }