예제 #1
0
 private RiskAssessmentController GetTarget()
 {
     var target =  new RiskAssessmentController(_searchViewModelFactory.Object, _createViewModelFactory.Object, _riskAssessmentService.Object, null);
     return TestControllerHelpers.AddUserWithDefinableAllowedSitesToController(target, _allowedSites);
 }
예제 #2
0
 private RiskAssessmentController GetTarget()
 {
     var result = new RiskAssessmentController(_searchViewModelFactory.Object, _createViewModelFactory.Object, _hazardousSubstanceAssessmentService.Object, null);
     return TestControllerHelpers.AddUserToController(result);
 }