public void Setup() { _mockCountryService = Substitute.For <ICountryService>(); _mockEstimationRepository = Substitute.For <IEstimationRepository>(); _mockExchangeService = Substitute.For <IExchangeService>(); _mockPaymentService = Substitute.For <IPaymentService>(); _mockTaxAndFeeService = Substitute.For <ITaxAndFeeService>(); _service = new EstimationService(_mockPaymentService, _mockTaxAndFeeService, _mockExchangeService, _mockCountryService, _mockEstimationRepository); }
public EstimatesController( EthereumClient ethereumClient, IEstimationService estimationService, IScoringCriterionRepository scoringCriterionRepository, IClock clock) { _ethereumClient = ethereumClient; _estimationService = estimationService; _scoringCriterionRepository = scoringCriterionRepository; _clock = clock; }
public EstimationController(IEstimationService estimationService) { _estimationService = estimationService; }
public EstimationController(IEstimationService service) { _service = service; }
public EstimationController(IEstimationService estimationService, IErc20PrivateWalletService erc20PrivateWalletService) { _estimationService = estimationService; _erc20PrivateWalletService = erc20PrivateWalletService; }