예제 #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);
 }