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(); }