public void SetUp() { _repository = Substitute.For <IAirConditionUnitRequestRepository>(); _emailSender = Substitute.For <IEmailSender>(); _airFlowHelper = Substitute.For <IAirFlowHelper>(); _airConditionUnitService = new AirConditionUnitService(_repository, _emailSender, _airFlowHelper); }
public AirConditionUnitService( IAirConditionUnitRequestRepository repository, IEmailSender emailSender, IAirFlowHelper airFlowHelper) { _repository = repository; _emailSender = emailSender; _airFlowHelper = airFlowHelper; }