public void SetUp() { _repository = Substitute.For <IAirConditionUnitRequestRepository>(); _emailSender = Substitute.For <IEmailSender>(); _airFlowHelper = Substitute.For <IAirFlowHelper>(); _airConditionUnitService = new AirConditionUnitService(_repository, _emailSender, _airFlowHelper); }
public AuthSurfaceController( IAuthService authService, IFormsAuthentication formsAuthentication, IAirFlowHelper airFlowHelper) { _authService = authService; _formsAuthentication = formsAuthentication; _airFlowHelper = airFlowHelper; }
public AirConditionUnitService( IAirConditionUnitRequestRepository repository, IEmailSender emailSender, IAirFlowHelper airFlowHelper) { _repository = repository; _emailSender = emailSender; _airFlowHelper = airFlowHelper; }
public void SetUp() { Common.SetUpUmbracoContext(); _authService = Substitute.For <IAuthService>(); _formsAuthentication = Substitute.For <IFormsAuthentication>(); _airFlowHelper = Substitute.For <IAirFlowHelper>(); _authController = new AuthSurfaceController(_authService, _formsAuthentication, _airFlowHelper); }