public void SetUp() { _decisionService = new Mock <IDecisionService>(); _pdfService = new Mock <IPdfService>(); _mapper = new Mock <IMapper>(); _decisionsController = new DecisionsController( _pdfService.Object, _decisionService.Object, _mapper.Object); }
protected override void OnActionExecuting(ActionExecutingContext filterContext) { // Do whatever here... dc = new DecisionsController(Server); }