Beispiel #1
0
 public SegmentServiceHealthStatusCheckTests()
 {
     fakeRepository = A.Fake <ICosmosRepository <CurrentOpportunitiesSegmentModel> >();
     fakeCourseCurrentOpportunitiesRefresh = A.Fake <ICourseCurrentOpportunitiesRefresh>();
     fakeIAVCurrentOpportunatiesRefresh    = A.Fake <IAVCurrentOpportunitiesRefresh>();
     fakeLogger = A.Fake <ILogger <CurrentOpportunitiesSegmentService> >();
     fakeMapper = A.Fake <IMapper>();
     fakeJobProfileSegmentRefreshService      = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
     fakeCurrentOpportunitiesSegmentUtilities = A.Fake <ICurrentOpportunitiesSegmentUtilities>();
 }
Beispiel #2
0
 public CurrentOpportunitiesSegmentService(ICosmosRepository <CurrentOpportunitiesSegmentModel> repository, ICourseCurrentOpportunitiesRefresh courseCurrentOpportunitiesRefresh, IAVCurrentOpportunitiesRefresh aVCurrentOpportunatiesRefresh, ILogger <CurrentOpportunitiesSegmentService> logger, IMapper mapper, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> jobProfileSegmentRefreshService, ICurrentOpportunitiesSegmentUtilities currentOpportunitiesSegmentUtilities)
 {
     this.repository = repository;
     this.aVCurrentOpportunatiesRefresh     = aVCurrentOpportunatiesRefresh;
     this.courseCurrentOpportunitiesRefresh = courseCurrentOpportunitiesRefresh;
     this.logger = logger;
     this.mapper = mapper;
     this.jobProfileSegmentRefreshService      = jobProfileSegmentRefreshService;
     this.currentOpportunitiesSegmentUtilities = currentOpportunitiesSegmentUtilities;
 }