private HazardsController GetTarget() { var target = new HazardsController(_companyDefaultService.Object, _fireRiskAssessmentService.Object, null); return TestControllerHelpers.AddUserToController(target); }
private HazardsController GetTarget() { var result = new HazardsController(null,null, _riskAssessmentAttachmentService.Object); return TestControllerHelpers.AddUserToController(result); }