public CourseCurrentOpportunitiesRefresh(ILogger <CourseCurrentOpportunitiesRefresh> logger, ICosmosRepository <CurrentOpportunitiesSegmentModel> repository, ICourseSearchApiService courseSearchApiService, AutoMapper.IMapper mapper, CourseSearchSettings courseSearchSettings, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> jobProfileSegmentRefreshService) { this.logger = logger; this.repository = repository; this.courseSearchApiService = courseSearchApiService; this.mapper = mapper; this.courseSearchSettings = courseSearchSettings; this.jobProfileSegmentRefreshService = jobProfileSegmentRefreshService; }
public CourseServiceHealthStatusCheckTests() { fakeLogger = A.Fake <ILogger <CourseCurrentOpportunitiesRefresh> >(); dummyHealthCheckContext = A.Dummy <HealthCheckContext>(); fakeLogger = A.Fake <ILogger <CourseCurrentOpportunitiesRefresh> >(); fakeRepository = A.Fake <Data.Contracts.ICosmosRepository <CurrentOpportunitiesSegmentModel> >(); fakeCourseSearchClient = A.Fake <ICourseSearchApiService>(); fakeMapper = A.Fake <AutoMapper.IMapper>(); fakejobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >(); courseSearchSettings = new CourseSearchSettings() { HealthCheckKeyWords = "DummyKeyword", }; }