public ExchangeRatesApiControllerTests()
 {
     _fixture = new Fixture();
     _exchangeRatesService   = Substitute.For <IExchangeRatesService>();
     _apiKeyGeneratorService = Substitute.For <IApiKeyGeneratorService>();
     _config = _fixture.Create <MyConfig>();
 }
Ejemplo n.º 2
0
 public ExchangeRatesApiController(IExchangeRatesService exchangeRatesService, IApiKeyGeneratorService apiKeyGeneratorService, MyConfig config)
 {
     _exchangeRatesService   = exchangeRatesService;
     _apiKeyGeneratorService = apiKeyGeneratorService;
     _config = config;
 }