public AVAPIServiceHealthStatusCheckTests() { fakeLogger = A.Fake <ILogger <AVAPIService> >(); aVAPIServiceSettings = new AVAPIServiceSettings() { FAAMaxPagesToTryPerMapping = 100 }; fakeApprenticeshipVacancyApi = A.Fake <IApprenticeshipVacancyApi>(); aVAPIServiceSettings.StandardsForHealthCheck = A.Dummy <string>(); dummyHealthCheckContext = A.Dummy <HealthCheckContext>(); }
public AVAPIServiceTests() { fakeLogger = A.Fake <ILogger <AVAPIService> >(); aVAPIServiceSettings = new AVAPIServiceSettings() { FAAMaxPagesToTryPerMapping = 100 }; fakeApprenticeshipVacancyApi = A.Fake <IApprenticeshipVacancyApi>(); aVMapping = new AVMapping { Standards = new string[] { "225" }, Frameworks = new string[] { "512" }, }; }
public AVAPIService(IApprenticeshipVacancyApi apprenticeshipVacancyApi, IApplicationLogger logger) { this.apprenticeshipVacancyApi = apprenticeshipVacancyApi; this.logger = logger; }
public AVAPIService(IApprenticeshipVacancyApi apprenticeshipVacancyApi, ILogger <AVAPIService> logger, AVAPIServiceSettings aVAPIServiceSettings) { this.apprenticeshipVacancyApi = apprenticeshipVacancyApi; this.logger = logger; this.aVAPIServiceSettings = aVAPIServiceSettings; }