public void SetUp() { MockGeoCodingService = new Mock <GeoCodingService>() { CallBase = true }; GeoCodingBLL = new GeoCodingBLL(MockGeoCodingService.Object); }
public void SetUp() { MockWeatherService = new Mock <WeatherService>() { CallBase = true }; MockGeoCodingService = new Mock <GeoCodingService>() { CallBase = true }; GeoCodingBLL = new GeoCodingBLL(MockGeoCodingService.Object); WeatherBLL = new WeatherBLL(MockWeatherService.Object, GeoCodingBLL); }
public WeatherBLL(IWeatherService weatherService, IGeoCodingBLL geoCodingBLL) { _weatherService = weatherService; _geoCodingBLL = geoCodingBLL; }
public WeatherBLL(IWeatherService weatherService, IGeoCodingBLL geoCodingBLL) { this.weatherService = weatherService; this.geoCodingBLL = geoCodingBLL; }