Esempio n. 1
0
 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>();
 }
Esempio n. 2
0
 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" },
     };
 }
Esempio n. 3
0
 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;
 }