Esempio n. 1
0
 public void SetUp()
 {
     MockGeoCodingService = new Mock <GeoCodingService>()
     {
         CallBase = true
     };
     GeoCodingBLL = new GeoCodingBLL(MockGeoCodingService.Object);
 }
Esempio n. 2
0
 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;
 }
Esempio n. 4
0
 public WeatherBLL(IWeatherService weatherService, IGeoCodingBLL geoCodingBLL)
 {
     this.weatherService = weatherService;
     this.geoCodingBLL   = geoCodingBLL;
 }