public ApprenticeshipVacancyReportControllerTests() { fakeReportRepository = A.Fake <IJobProfileReportRepository>(ops => ops.Strict()); fakeLoggingService = A.Fake <IApplicationLogger>(ops => ops.Strict()); fakeWebAppContext = A.Fake <IWebAppContext>(); fakeCachingPolicy = A.Fake <ICachingPolicy>(); fakeList = Enumerable.Empty <JobProfileApprenticeshipVacancyReport>().AsQueryable(); }
public ApprenticeshipVacancyReportController( IApplicationLogger loggingService, IJobProfileReportRepository reportRepository, IWebAppContext webAppContext, ICachingPolicy cachingPolicy) : base(loggingService) { this.reportRepository = reportRepository; this.webAppContext = webAppContext; this.cachingPolicy = cachingPolicy; }