Esempio n. 1
0
 public RecommendedLearningController(
     IFilteredApiHelperService filteredApiHelperService,
     ISelfAssessmentService selfAssessmentService,
     IConfiguration configuration,
     IRecommendedLearningService recommendedLearningService,
     IActionPlanService actionPlanService
     )
 {
     this.filteredApiHelperService   = filteredApiHelperService;
     this.selfAssessmentService      = selfAssessmentService;
     this.configuration              = configuration;
     this.recommendedLearningService = recommendedLearningService;
     this.actionPlanService          = actionPlanService;
 }
Esempio n. 2
0
        public void Setup()
        {
            competencyLearningResourcesDataService = A.Fake <ICompetencyLearningResourcesDataService>();
            learningLogItemsDataService            = A.Fake <ILearningLogItemsDataService>();
            learningHubApiClient      = A.Fake <ILearningHubApiClient>();
            selfAssessmentDataService = A.Fake <ISelfAssessmentDataService>();

            recommendedLearningService = new RecommendedLearningService(
                selfAssessmentDataService,
                competencyLearningResourcesDataService,
                learningHubApiClient,
                learningLogItemsDataService
                );
        }
Esempio n. 3
0
        public void Setup()
        {
            filteredApiHelperService   = A.Fake <IFilteredApiHelperService>();
            selfAssessmentService      = A.Fake <ISelfAssessmentService>();
            configuration              = A.Fake <IConfiguration>();
            recommendedLearningService = A.Fake <IRecommendedLearningService>();
            actionPlanService          = A.Fake <IActionPlanService>();

            controller = new RecommendedLearningController(
                filteredApiHelperService,
                selfAssessmentService,
                configuration,
                recommendedLearningService,
                actionPlanService
                )
                         .WithDefaultContext()
                         .WithMockUser(true, delegateId: DelegateId);
        }