private CompanyDefaultsController CreateCompanyDefaultsController() { var result = new CompanyDefaultsController( _nonEmployeeService.Object, _companyDefaultService.Object, _companyDefaultsTaskFactory.Object, _suppliersService.Object, _siteService.Object); return TestControllerHelpers.AddUserToController(result); }
private CompanyDefaultsController CreateCompanyDefaultsController() { var result = new CompanyDefaultsController(null, _companyDefaultService.Object, null,null, null); return TestControllerHelpers.AddUserToController(result); }