public BankServiceIntegrationAgent(IOptions <BankServiceIntegrationAgentOptions> options, IOnTransactionFound onTransactionFound, ICache cache) { if (options == null) { throw new ArgumentNullException(nameof(options)); } _investecSDK = new InvestecSDK(new InvestecConfiguration( options.Value.ClientId, options.Value.ClientSecret, options.Value.AccountNumber)); _onTransactionFound = onTransactionFound; _cache = cache; }
public GetTransactionsTests() { _investecSdk = new InvestecSDK(_investecHttpClient.Object); }