示例#1
0
 private HazardsController GetTarget()
 {
     var target = new HazardsController(_companyDefaultService.Object, _fireRiskAssessmentService.Object, null);
     return TestControllerHelpers.AddUserToController(target);
 }
示例#2
0
 private HazardsController GetTarget()
 {
     var result = new HazardsController(null,null, _riskAssessmentAttachmentService.Object);
     return TestControllerHelpers.AddUserToController(result);
 }