public HistoricWeatherService(HttpClient httpClient,
                               IOptions <OpenWeatherSettings> options,
                               IMediatorHandler mediator,
                               IHistoricWeatherRepository historicWeatherRepository) : base(mediator)
 {
     _appSettings               = options.Value;
     httpClient.BaseAddress     = new Uri(_appSettings.WeatherBaseAddress);
     _httpClient                = httpClient;
     _historicWeatherRepository = historicWeatherRepository;
 }
 public HistoricWeatherServiceTests()
 {
     CreateScope();
     _options = Options.Create(new OpenWeatherSettings()
     {
         WeatherAppId       = "a20bc11389c24a4d67419a201d95b798",
         WeatherBaseAddress = "http://api.openweathermap.org"
     });
     _historicWeatherRepository = GetInstance <IHistoricWeatherRepository>();
     _mediatorHandler           = GetInstance <IMediatorHandler>();
 }