public PaymentController( IPaymentQueries paymentQueries, PlayerBankAccountCommands playerBankAccountCommands, IBrandQueries brandQueries, IWithdrawalService withdrawalService, ITransferFundCommands transferFundCommands, IOfflineDepositCommands offlineDepositCommands, IOfflineDepositQueries offlineDepositQueries, IOnlineDepositCommands onlineDepositCommands, IOnlineDepositQueries onlineDepositQueries, IPaymentGatewaySettingsQueries paymentGatewaySettingsQueries, IPlayerQueries playerQueries, IBonusApiProxy bonusApiProxy, ReportQueries reportQueries) { _paymentQueries = paymentQueries; _playerBankAccountCommands = playerBankAccountCommands; _brandQueries = brandQueries; _withdrawalService = withdrawalService; _transferFundCommands = transferFundCommands; _offlineDepositCommands = offlineDepositCommands; _offlineDepositQueries = offlineDepositQueries; _onlineDepositCommands = onlineDepositCommands; _onlineDepositQueries = onlineDepositQueries; _paymentGatewaySettingsQueries = paymentGatewaySettingsQueries; _playerQueries = playerQueries; _bonusApiProxy = bonusApiProxy; _reportQueries = reportQueries; }
public OnlineDepositController( IOnlineDepositCommands onlineDepositCommands, IOnlineDepositQueries onlineDepositQueries, IAuthQueries authQueries, IAdminQueries adminQueries) : base(authQueries, adminQueries) { _onlineDepositCommands = onlineDepositCommands; _onlineDepositQueries = onlineDepositQueries; _authQueries = authQueries; }
public override void BeforeEach() { base.BeforeEach(); _paymentRepositoryMock = Container.Resolve <FakePaymentRepository>(); _depositCommands = Container.Resolve <IOnlineDepositCommands>(); _depositQueries = Container.Resolve <IOnlineDepositQueries>(); _paymentTestHelper = Container.Resolve <PaymentTestHelper>(); _actorInfoProvider = Container.Resolve <IActorInfoProvider>(); //Add Testing Data GenerateTestingData(); }
public override void BeforeEach() { base.BeforeEach(); _brandOperations = Container.Resolve <IBrandOperations>(); _gameRepository = Container.Resolve <IGameRepository>(); _onlineDepositCommands = Container.Resolve <IOnlineDepositCommands>(); _onlineDepositQueries = Container.Resolve <IOnlineDepositQueries>(); _playerQueries = Container.Resolve <PlayerQueries>(); _reportQueries = Container.Resolve <ReportQueries>(); _testPlayer = Container.Resolve <PlayerTestHelper>().CreatePlayer(); WaitForPlayerRegistered(_testPlayer.Id); }
public PaymentTestHelper( IOfflineDepositCommands offlineDepositCommands, IOnlineDepositCommands onlineDepositCommands, IPaymentRepository paymentRepository, IPlayerRepository playerRepository, IMessagingRepository messagingRepository, IPaymentSettingsCommands paymentSettingsCommands, IBankAccountCommands bankAccountCommands, IPlayerBankAccountCommands playerBankAccountCommands, ITransferFundCommands transferFundCommands, BrandCommands brandCommands, IBrandRepository brandRepository, IBankCommands bankCommands, IPaymentGatewaySettingsCommands paymentGatewaySettingsCommands, IGameRepository gameRepository, IWalletQueries walletQueries, IWithdrawalService withdrawalService ) { _offlineDepositCommands = offlineDepositCommands; _onlineDepositCommands = onlineDepositCommands; _paymentRepository = paymentRepository; _playerRepository = playerRepository; _messagingRepository = messagingRepository; _paymentSettingsCommands = paymentSettingsCommands; _bankAccountCommands = bankAccountCommands; _playerBankAccountCommands = playerBankAccountCommands; _transferFundCommands = transferFundCommands; _brandCommands = brandCommands; _brandRepository = brandRepository; _bankCommands = bankCommands; _paymentGatewaySettingsCommands = paymentGatewaySettingsCommands; _gameRepository = gameRepository; _walletQueries = walletQueries; _withdrawalService = withdrawalService; }