public void Setup() { this.currency = new Currency { Name = "ValidCurrency", Abbreviation = "VC" }; this.currencyRepository = A.Fake <IRepositoryCurrency>(); this.currencyService = new CurrencyServices(this.currencyRepository); }
public AccountController( IUserManager <User> userManager, ISignInManager <User> signInManager, IMemoryCache memoryCache, IUserServices userServices, ICurrencyServices currencyServices) { this.userManager = userManager; this.signinManager = signInManager; this.memoryCache = memoryCache; this.currencyServices = currencyServices; this.userServices = userServices; }
public CurrenciesController(ICurrencyServices entityServices, IRepository <Currency> entityRepository) { _entityServices = entityServices; _entityRepository = entityRepository; }
public CurrencyController(ICurrencyServices currencyServices) { this._currencyServices = currencyServices; }
public UnitTest1(ICurrencyServices service) { _service = service; }
public CurrencyController(ICurrencyServices currencyServices, IErrorServices errorServices) { this.currencyServices = currencyServices; this.errorServices = errorServices; }
public QueueTests() { this._contextFactory = new InMemoryQueueContextFactory(); this._currencyServices = new CurrencyServices(this._contextFactory); }
public TransactionApiController(ITransactionServices transactionServices, IPairServices pairServices, ICurrencyServices currencyServices) { _transactionServices = transactionServices; _currencyServices = currencyServices; _pairServices = pairServices; }
public CurrencyController(ICurrencyServices services) { _services = services; }