public JobProfileConverter(IRelatedClassificationsRepository relatedClassificationsRepository, IDynamicContentExtensions dynamicContentExtensions, IContentPropertyConverter <HowToBecome> htbContentPropertyConverter, IContentPropertyConverter <WhatYouWillDo> whatYouWillDoPropertyConverter) { this.relatedClassificationsRepository = relatedClassificationsRepository; this.htbContentPropertyConverter = htbContentPropertyConverter; this.dynamicContentExtensions = dynamicContentExtensions; this.whatYouWillDoPropertyConverter = whatYouWillDoPropertyConverter; }
public JobProfileConverterTests() { fakeRelatedClassificationsRepository = A.Fake <IRelatedClassificationsRepository>(); fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>(); htbContentPropertyConverter = A.Fake <IContentPropertyConverter <HowToBecome> >(); wywdPropertyConverter = A.Fake <IContentPropertyConverter <WhatYouWillDo> >(); fakeDynamicContentItem = 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 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 HowToBecomeConverterTests() { fakeRelatedClassificationsRepository = A.Fake <IRelatedClassificationsRepository>(); fakeDynamicContentExtensions = A.Fake <IDynamicContentExtensions>(); fakeDynamicContentItem = A.Dummy <DynamicContent>(); }
public HowToBecomeConverter(IRelatedClassificationsRepository classificationsRepository, IDynamicContentExtensions dynamicContentExtensions) { this.classificationsRepository = classificationsRepository; this.dynamicContentExtensions = dynamicContentExtensions; }