Пример #1
0
 public ZipCodeInfoBL(ITimeZoneDL timeZoneDL,
                      IElevationDL elevationDL,
                      IWeatherDL weatherDL)
 {
     _timeZoneDL  = timeZoneDL;
     _elevationDL = elevationDL;
     _weatherDL   = weatherDL;
 }
Пример #2
0
        public void Setup()
        {
            _timeZoneDL  = Substitute.For <ITimeZoneDL>();
            _elevationDL = Substitute.For <IElevationDL>();
            _weatherDL   = Substitute.For <IWeatherDL>();

            _zipCodeInfoBL = new ZipCodeInfoBL(_timeZoneDL, _elevationDL, _weatherDL);

            _timeZoneDO  = Substitute.For <ITimeZoneDO>();
            _elevationDO = Substitute.For <IElevationDO>();
            _weatherDO   = Substitute.For <IWeatherDO>();
        }