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

            _airConditionUnitService = new AirConditionUnitService(_repository, _emailSender, _airFlowHelper);
        }
Exemplo n.º 2
0
 public AuthSurfaceController(
     IAuthService authService,
     IFormsAuthentication formsAuthentication,
     IAirFlowHelper airFlowHelper)
 {
     _authService         = authService;
     _formsAuthentication = formsAuthentication;
     _airFlowHelper       = airFlowHelper;
 }
Exemplo n.º 3
0
 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);
        }