示例#1
0
        public void Setup()
        {
            _assessmentBuilder              = A.Fake <IAssessmentViewModelBuilder>();
            _workflowHandler                = A.Fake <IWorkflowHandler>();
            _pdfCreationProvider            = A.Fake <IPdfCreationProvider>();
            _questionAnswerViewModelBuilder = A.Fake <IQuestionAnswerViewModelBuilder>();
            _assessmentHelper               = A.Fake <IAssessmentHelper>();
            _terminatedViewModelBuilder     = A.Fake <ITerminatedViewModelBuilder>();
            _roleHelper                = A.Fake <IRoleHelper>();
            _patientHelper             = A.Fake <IPatientHelper>();
            _feedBackBuilder           = A.Fake <IFeedBackBuilder>();
            _copyrightViewModelBuilder = A.Fake <ICopyrightViewModelBuilder>();

            _assessmentController = new AssessmentController(_assessmentBuilder, _workflowHandler, _pdfCreationProvider,
                                                             _assessmentHelper, _terminatedViewModelBuilder, _patientHelper, _roleHelper, _feedBackBuilder, _copyrightViewModelBuilder);
        }
示例#2
0
 public AssessmentController(IAssessmentViewModelBuilder assessmentViewModelBuilder,
                             IWorkflowHandler workflowHandler,
                             IPdfCreationProvider pdfCreationProvider,
                             IAssessmentHelper assessmentHelper,
                             ITerminatedViewModelBuilder terminatedViewModelBuilder,
                             IPatientHelper patientHelper,
                             IRoleHelper roleHelper,
                             IFeedBackBuilder feedBackBuilder,
                             ICopyrightViewModelBuilder copyrightViewModelBuilder)
     : base(feedBackBuilder, copyrightViewModelBuilder)
 {
     _assessmentViewModelBuilder = assessmentViewModelBuilder;
     _workflowHandler            = workflowHandler;
     _pdfCreationProvider        = pdfCreationProvider;
     _assessmentHelper           = assessmentHelper;
     _terminatedViewModelBuilder = terminatedViewModelBuilder;
     _patientHelper = patientHelper;
     _roleHelper    = roleHelper;
 }