public ZipCodeInfoBL(ITimeZoneDL timeZoneDL, IElevationDL elevationDL, IWeatherDL weatherDL) { _timeZoneDL = timeZoneDL; _elevationDL = elevationDL; _weatherDL = weatherDL; }
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>(); }