public HoldingsController(IHoldingsService holdingsService, ITransactionQueryService transactionQueryService, IMapper mapper) { _holdingsService = holdingsService; _transactionQueryService = transactionQueryService; _mapper = mapper; }
public void SetUp() { _walletQueryService = Substitute.For <IWalletQueryService>(); _transactionQueryService = Substitute.For <ITransactionQueryService>(); _sut = new TransactionService(_walletQueryService, _transactionQueryService); }
public HoldingsService(ITransactionQueryService transactionQueryService, IHoldingsProcessor holdingsProcessor, IStockService stockService, IWalletQueryService walletQueryService) { _transactionQueryService = transactionQueryService; _holdingsProcessor = holdingsProcessor; _stockService = stockService; _walletQueryService = walletQueryService; }
public void SetUp() { _transactionQueryService = Substitute.For <ITransactionQueryService>(); _holdingsProcessor = Substitute.For <IHoldingsProcessor>(); _stockService = Substitute.For <IStockService>(); _walletQueryService = Substitute.For <IWalletQueryService>(); _sut = new HoldingsService(_transactionQueryService, _holdingsProcessor, _stockService, _walletQueryService); }
public TransactionController(ITransactionCommandService transactionCommandService, ITransactionQueryService transactionQueryService) { _transactionCommandService = transactionCommandService; _transactionQueryService = transactionQueryService; }
public TransactionService(IWalletQueryService walletQueryService, ITransactionQueryService transactionQueryService) { _walletQueryService = walletQueryService; _transactionQueryService = transactionQueryService; }