public void SetUp()
        {
            _repository    = Substitute.For <IAirConditionUnitRequestRepository>();
            _emailSender   = Substitute.For <IEmailSender>();
            _airFlowHelper = Substitute.For <IAirFlowHelper>();

            _airConditionUnitService = new AirConditionUnitService(_repository, _emailSender, _airFlowHelper);
        }
Example #2
0
 public AirConditionUnitService(
     IAirConditionUnitRequestRepository repository,
     IEmailSender emailSender,
     IAirFlowHelper airFlowHelper)
 {
     _repository    = repository;
     _emailSender   = emailSender;
     _airFlowHelper = airFlowHelper;
 }