public JobProfileStructuredDataControllerTests() { fakeStructuredDataInjectionRepository = A.Fake <IStructuredDataInjectionRepository>(ops => ops.Strict()); fakeApplicationLogger = A.Fake <IApplicationLogger>(ops => ops.Strict()); mapperCfg = new MapperConfiguration(cfg => { cfg.AddProfile <JobProfilesAutoMapperProfile>(); }).CreateMapper(); fakeSitefinityPage = A.Fake <ISitefinityPage>(ops => ops.Strict()); jobProfileStructuredDataController = GetController(); }
public JobProfileStructuredDataController(ISitefinityPage sitefinityPage, IMapper mapper, IStructuredDataInjectionRepository structuredDataInjectionRepository, IApplicationLogger loggingService) : base(loggingService) { this.structuredDataInjectionRepository = structuredDataInjectionRepository; this.mapper = mapper; this.sitefinityPage = sitefinityPage; }