public SegmentController(ILogService logService, IHowToBecomeSegmentService howToBecomeSegmentService, AutoMapper.IMapper mapper, IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> refreshService)
 {
     this.logService = logService;
     this.howToBecomeSegmentService = howToBecomeSegmentService;
     this.mapper         = mapper;
     this.refreshService = refreshService;
 }
 public SegmentServicePatchRegistrationTests()
 {
     jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();
     mapper     = A.Fake <IMapper>();
     repository = A.Fake <ICosmosRepository <HowToBecomeSegmentModel> >();
     howToBecomeSegmentService = new HowToBecomeSegmentService(repository, jobProfileSegmentRefreshService, mapper);
 }
        public SegmentServiceDeleteTests()
        {
            var mapper = A.Fake <AutoMapper.IMapper>();
            var jobProfileSegmentRefreshService = A.Fake <IJobProfileSegmentRefreshService <RefreshJobProfileSegmentServiceBusModel> >();

            repository = A.Fake <ICosmosRepository <HowToBecomeSegmentModel> >();
            howToBecomeSegmentService = new HowToBecomeSegmentService(repository, jobProfileSegmentRefreshService, mapper);
        }
 public HealthController(ILogService logService, IHowToBecomeSegmentService howToBecomeSegmentService)
 {
     this.logService = logService;
     this.howToBecomeSegmentService = howToBecomeSegmentService;
     resourceName = typeof(Program).Namespace;
 }