public SegmentServicePatchSocCodeDataTests()
 {
     jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
     mapper     = A.Fake <IMapper>();
     repository = A.Fake <ICosmosRepository <JobProfileOverviewSegmentModel> >();
     jobProfileOverviewSegmentService = new JobProfileOverviewSegmentService(repository, mapper, jobProfileSegmentRefreshService);
 }
 public SegmentController(ILogService logService, IJobProfileOverviewSegmentService jobProfileOverviewSegmentService, AutoMapper.IMapper mapper, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> refreshService)
 {
     this.logService = logService;
     this.jobProfileOverviewSegmentService = jobProfileOverviewSegmentService;
     this.mapper         = mapper;
     this.refreshService = refreshService;
 }
Esempio n. 3
0
        public SegmentServiceGetAllTests()
        {
            var jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
            var mapper = A.Fake <AutoMapper.IMapper>();

            repository = A.Fake <ICosmosRepository <JobProfileOverviewSegmentModel> >();
            jobProfileOverviewSegmentService = new JobProfileOverviewSegmentService(repository, mapper, jobProfileSegmentRefreshService);
        }
Esempio n. 4
0
 public HealthController(ILogService logService, IJobProfileOverviewSegmentService jobProfileOverviewSegmentService)
 {
     this.logService = logService;
     this.jobProfileOverviewSegmentService = jobProfileOverviewSegmentService;
 }