public JobProfileApprenticeshipVacancyReportConverterTests()
 {
     dummyJobProfileConverter      = A.Fake <IDynamicModuleConverter <JobProfileReport> >(x => x.Strict());
     dummyDynamicContent           = A.Dummy <DynamicContent>();
     dummySocCodeReportConverter   = A.Fake <IDynamicModuleConverter <SocCodeReport> >(x => x.Strict());
     dummyDynamicContentExtensions = A.Fake <IDynamicContentExtensions>(x => x.Strict());
 }
Пример #2
0
 public EmailTemplateRepository(
     IDynamicModuleRepository <EmailTemplate> emailTemplateRepository,
     IDynamicModuleConverter <EmailTemplate> converter)
 {
     this.emailTemplateRepository = emailTemplateRepository;
     this.converter = converter;
 }
Пример #3
0
 public StructuredDataInjectionRepository(IDynamicContentExtensions dynamicContentExtensions, IDynamicModuleRepository <JobProfile> jobprofileRepository, IDynamicModuleRepository <StructuredDataInjection> structuredDataDynamicModuleRepository, IDynamicModuleConverter <StructuredDataInjection> converter)
 {
     this.structuredDataDynamicModuleRepository = structuredDataDynamicModuleRepository;
     this.converter                = converter;
     this.jobprofileRepository     = jobprofileRepository;
     this.dynamicContentExtensions = dynamicContentExtensions;
 }
 public JobProfileReportConverter(
     IDynamicModuleConverter <CmsReportItem> cmsReportItemConverter,
     IMapper mapper)
 {
     this.cmsReportItemConverter = cmsReportItemConverter;
     this.mapper = mapper;
 }
 public JobProfileReportRepositoryTests()
 {
     fakeDynamicContentExtensions    = A.Fake <IDynamicContentExtensions>(ops => ops.Strict());
     fakeJobProfileRepository        = A.Fake <IDynamicModuleRepository <JobProfile> >(ops => ops.Strict());
     fakeApprenticeVacancyConverter  = A.Fake <IDynamicModuleConverter <ApprenticeshipVacancyReport> >(ops => ops.Strict());
     fakeApprenticeVacancyRepository = A.Fake <IDynamicModuleRepository <ApprenticeVacancy> >(ops => ops.Strict());
     fakeJobProfileApprenticeshipVacancyReportConverter = A.Fake <IDynamicModuleConverter <JobProfileApprenticeshipVacancyReport> >(ops => ops.Strict());
 }
 public SocSkillMatrixRepository(IDynamicModuleRepository <FrameworkSkill> frameworkSkillRepository, IDynamicModuleRepository <SocSkillMatrix> socMatrixRepository, IDynamicContentExtensions dynamicContentExtensions, IDynamicModuleRepository <SocCode> socCodeRepository, IDynamicModuleConverter <SocSkillMatrix> socSkillConverter)
 {
     this.frameworkSkillRepository = frameworkSkillRepository;
     this.socMatrixRepository      = socMatrixRepository;
     this.dynamicContentExtensions = dynamicContentExtensions;
     this.socCodeRepository        = socCodeRepository;
     this.socSkillConverter        = socSkillConverter;
 }
 public SocSkillMatrixRepositoryTests()
 {
     fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>(ops => ops.Strict());
     fakeSocSkillConverter        = A.Fake <IDynamicModuleConverter <SocSkillMatrix> >(ops => ops.Strict());
     fakeFrameworkSkillRepository = A.Fake <IDynamicModuleRepository <FrameworkSkill> >(ops => ops.Strict());
     fakeSocMatrixRepository      = A.Fake <IDynamicModuleRepository <SocSkillMatrix> >(ops => ops.Strict());
     fakeSocCodeRepository        = A.Fake <IDynamicModuleRepository <SocCode> >(ops => ops.Strict());
 }
 public JobProfileApprenticeshipVacancyReportConverter(
     IDynamicModuleConverter <SocCodeReport> socCodeConverter,
     IDynamicModuleConverter <JobProfileReport> jobProfileReportConverter,
     IDynamicContentExtensions dynamicContentExtensions)
 {
     this.socCodeConverter          = socCodeConverter;
     this.jobProfileReportConverter = jobProfileReportConverter;
     this.dynamicContentExtensions  = dynamicContentExtensions;
 }
 public JobProfileSocCodeRepositoryTests()
 {
     fakeJobProfileSocConverter   = A.Fake <IDynamicModuleConverter <ApprenticeVacancy> >();
     fakeRepository               = A.Fake <IDynamicModuleRepository <SocCode> >();
     fakeJpRepository             = A.Fake <IDynamicModuleRepository <JobProfile> >();
     fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>();
     fakeSocConverter             = A.Fake <IDynamicModuleConverter <SocCode> >();
     fakeConverterLight           = A.Fake <IDynamicModuleConverter <JobProfileOverloadForWhatItTakes> >();
 }
 public JobProfileRepositoryTests()
 {
     fakeJobProfileConverter       = A.Fake <IDynamicModuleConverter <JobProfile> >();
     fakeJobProfileSearchConverter = A.Fake <IDynamicModuleConverter <JobProfileOverloadForSearch> >();
     fakeRepository               = A.Fake <IDynamicModuleRepository <JobProfile> >();
     fakeWitConverter             = A.Fake <IDynamicModuleConverter <JobProfileOverloadForWhatItTakes> >();
     fakeSocSkillRepo             = A.Fake <IDynamicModuleRepository <SocSkillMatrix> >();
     fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>();
 }
 public StructuredDataInjectionRepositoryTests()
 {
     fakeStructuredDataDynamicModuleRepository = A.Fake <IDynamicModuleRepository <StructuredDataInjection> >(ops => ops.Strict());
     fakeConverter                     = A.Fake <IDynamicModuleConverter <StructuredDataInjection> >(ops => ops.Strict());
     fakeJobprofileRepository          = A.Fake <IDynamicModuleRepository <JobProfile> >(ops => ops.Strict());
     fakeDynamicContentExtensions      = A.Fake <IDynamicContentExtensions>(ops => ops.Strict());
     structuredDataInjectionRepository = GetStructuredDataInjectionRepository();
     dummyDynamicContent               = A.Dummy <DynamicContent>();
     SetupCalls();
 }
 public SocCodeReportConverter(
     IDynamicContentExtensions dynamicContentExtensions,
     IRelatedClassificationsRepository relatedClassificationsRepository,
     IDynamicModuleConverter <CmsReportItem> cmsReportItemConverter,
     IMapper mapper)
 {
     this.dynamicContentExtensions         = dynamicContentExtensions;
     this.relatedClassificationsRepository = relatedClassificationsRepository;
     this.mapper = mapper;
     this.cmsReportItemConverter = cmsReportItemConverter;
 }
        public JobProfileReportConverterTests()
        {
            dummyCmsReportItemModuleConverter = A.Fake <IDynamicModuleConverter <CmsReportItem> >(x => x.Strict());
            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <CmsExtensionsAutoMapperProfile>();
            });

            mapper = config.CreateMapper();
            dummyDynamicContent = A.Dummy <DynamicContent>();
        }
Пример #14
0
 public ApprenticeshipReportConverter(
     IDynamicModuleConverter <SocCodeReport> socCodeReportConverter,
     IDynamicContentExtensions dynamicContentExtensions,
     IDynamicModuleConverter <CmsReportItem> cmsReportItemConverter,
     IMapper mapper)
 {
     this.socCodeReportConverter   = socCodeReportConverter;
     this.dynamicContentExtensions = dynamicContentExtensions;
     this.mapper = mapper;
     this.cmsReportItemConverter = cmsReportItemConverter;
 }
Пример #15
0
 public DataEventProcessor(IApplicationLogger applicationLogger, ICompositePageBuilder compositePageBuilder, IAsyncHelper asyncHelper, IDataEventActions dataEventActions, IDynamicModuleConverter <JobProfileMessage> dynamicContentConverter, IServiceBusMessageProcessor serviceBusMessageProcessor, IDynamicContentExtensions dynamicContentExtensions, IDynamicContentAction dynamicContentAction, ISitefinityManagerProxy sitefinityManagerProxy)
 {
     this.applicationLogger          = applicationLogger;
     this.compositePageBuilder       = compositePageBuilder;
     this.asyncHelper                = asyncHelper;
     this.dataEventActions           = dataEventActions;
     this.dynamicContentConverter    = dynamicContentConverter;
     this.serviceBusMessageProcessor = serviceBusMessageProcessor;
     this.dynamicContentExtensions   = dynamicContentExtensions;
     this.dynamicContentAction       = dynamicContentAction;
     this.sitefinityManagerProxy     = sitefinityManagerProxy;
 }
 public JobProfileReportRepository(
     IDynamicModuleRepository <JobProfile> jobProfileRepository,
     IDynamicModuleConverter <JobProfileApprenticeshipVacancyReport> jobProfileApprenticeshipVacancyReportConverter,
     IDynamicModuleRepository <ApprenticeVacancy> apprenticeVacancyRepository,
     IDynamicModuleConverter <ApprenticeshipVacancyReport> apprenticeVacancyConverter,
     IDynamicContentExtensions dynamicContentExtensions)
 {
     this.jobProfileRepository = jobProfileRepository;
     this.jobProfileApprenticeshipVacancyReportConverter = jobProfileApprenticeshipVacancyReportConverter;
     this.apprenticeVacancyRepository = apprenticeVacancyRepository;
     this.apprenticeVacancyConverter  = apprenticeVacancyConverter;
     this.dynamicContentExtensions    = dynamicContentExtensions;
 }
Пример #17
0
        public SocCodeReportConverterTests()
        {
            dummyCmsReportIteModuleConverter = A.Fake <IDynamicModuleConverter <CmsReportItem> >(x => x.Strict());
            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <CmsExtensionsAutoMapperProfile>();
            });

            mapper = config.CreateMapper();
            dummyDynamicContent = A.Dummy <DynamicContent>();
            dummyRelatedClassificationsRepository = A.Fake <IRelatedClassificationsRepository>(x => x.Strict());
            dummyDynamicContentExtensions         = A.Fake <IDynamicContentExtensions>(x => x.Strict());
        }
 public DataEventProcessorTests()
 {
     fakeApplicationLogger          = A.Fake <IApplicationLogger>();
     fakeCompositePageBuilder       = A.Fake <ICompositePageBuilder>();
     fakeDataEventActions           = A.Fake <IDataEventActions>(ops => ops.Strict());
     fakeAsyncHelper                = new AsyncHelper();
     fakeDataEvent                  = A.Fake <IDataEvent>();
     fakeSitefinityManagerProxy     = A.Fake <ISitefinityManagerProxy>();
     fakeServiceBusMessageProcessor = A.Fake <IServiceBusMessageProcessor>();
     fakeDynamicContentExtensions   = A.Fake <IDynamicContentExtensions>();
     fakeDynamicContentConverter    = A.Fake <IDynamicModuleConverter <JobProfileMessage> >();
     fakeDynamicContentAction       = A.Fake <IDynamicContentAction>();
     A.CallTo(() => fakeDataEvent.ItemType).Returns(typeof(PageNode));
 }
 public JobProfileRepository(
     IDynamicModuleRepository <JobProfile> repository,
     IDynamicModuleConverter <JobProfile> converter,
     IDynamicContentExtensions dynamicContentExtensions,
     IDynamicModuleRepository <SocSkillMatrix> socSkillRepository,
     IDynamicModuleConverter <JobProfileOverloadForWhatItTakes> converterLight,
     IDynamicModuleConverter <JobProfileOverloadForSearch> converterForSearchableFieldsOnly)
 {
     this.repository = repository;
     this.converter  = converter;
     this.dynamicContentExtensions         = dynamicContentExtensions;
     this.socSkillRepository               = socSkillRepository;
     this.converterForWITOnly              = converterLight;
     this.converterForSearchableFieldsOnly = converterForSearchableFieldsOnly;
 }
 public JobProfileSocCodeRepository(
     IDynamicModuleRepository <SocCode> repository,
     IDynamicModuleConverter <ApprenticeVacancy> converter,
     IDynamicModuleConverter <SocCode> socCodeConverter,
     IDynamicContentExtensions dynamicContentExtensions,
     IDynamicModuleConverter <JobProfileOverloadForWhatItTakes> converterLight,
     IDynamicModuleRepository <JobProfile> jpRepository)
 {
     this.repository = repository;
     this.converter  = converter;
     this.dynamicContentExtensions = dynamicContentExtensions;
     this.socCodeConverter         = socCodeConverter;
     this.converterLight           = converterLight;
     this.jpRepository             = jpRepository;
 }
 public JobProfilesRelatedCareersRepository(IDynamicModuleConverter <JobProfileRelatedCareer> converter, IDynamicModuleRepository <JobProfile> jobprofileRepository, IDynamicContentExtensions dynamicContentExtensions)
 {
     this.converter                = converter;
     this.jobprofileRepository     = jobprofileRepository;
     this.dynamicContentExtensions = dynamicContentExtensions;
 }
 public FrameworkSkillRepository(IDynamicModuleRepository <FrameworkSkill> frameworkSkillRepository, IDynamicContentExtensions dynamicContentExtensions, IDynamicModuleConverter <FrameworkSkill> frameworkSkillConverter)
 {
     this.frameworkSkillRepository = frameworkSkillRepository;
     this.dynamicContentExtensions = dynamicContentExtensions;
     this.frameworkSkillConverter  = frameworkSkillConverter;
 }
 public JobProfileRelatedSkillsRepository(IDynamicModuleRepository <WhatItTakesSkill> repository, IDynamicModuleConverter <WhatItTakesSkill> converter)
 {
     this.repository = repository;
     this.converter  = converter;
 }
 public PreSearchFiltersRepository(IDynamicModuleRepository <T> repository, IDynamicModuleConverter <T> converter)
 {
     this.repository = repository;
     this.converter  = converter;
 }
Пример #25
0
 public EmailTemplateRepositoryTests()
 {
     fakeEmailTemplateConverter = A.Fake <IDynamicModuleConverter <EmailTemplate> >();
     fakeRepository             = A.Fake <IDynamicModuleRepository <EmailTemplate> >();
 }
 public JobProfilesRelatedCareersRepositoryTests()
 {
     fakeJobProfileRelatedCareerConverter = A.Fake <IDynamicModuleConverter <JobProfileRelatedCareer> >();
     fakeRepository = A.Fake <IDynamicModuleRepository <JobProfile> >();
     fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>();
 }
Пример #27
0
 public PreSearchFiltersRepositoryTests()
 {
     fakeRepository      = A.Fake <IDynamicModuleRepository <PreSearchFilter> >();
     fakeModuleConverter = A.Fake <IDynamicModuleConverter <PreSearchFilter> >();
     dynamicContentItem  = A.Dummy <DynamicContent>();
 }
Пример #28
0
 public JobProfileRelatedSkillsRepositoryTests()
 {
     fakeConverter  = A.Fake <IDynamicModuleConverter <WhatItTakesSkill> >();
     fakeRepository = A.Fake <IDynamicModuleRepository <WhatItTakesSkill> >();
 }