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; }
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 ); }
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); }