Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public JobProfileStructuredDataController(ISitefinityPage sitefinityPage, IMapper mapper, IStructuredDataInjectionRepository structuredDataInjectionRepository, IApplicationLogger loggingService) : base(loggingService)
 {
     this.structuredDataInjectionRepository = structuredDataInjectionRepository;
     this.mapper         = mapper;
     this.sitefinityPage = sitefinityPage;
 }