public void Setup() { this.fakeLogger = A.Fake <ILogger <AzureWebJobsHealthCheck> >(); this.fakeAzureWebJobsHealthCheckService = A.Fake <IAzureWebJobsHealthCheckService>(); azureWebJobsHealthCheck = new AzureWebJobsHealthCheck(fakeAzureWebJobsHealthCheckService, fakeLogger); }
public AzureWebJobsHealthCheck(IAzureWebJobsHealthCheckService azureWebJobsHealthCheckService, ILogger <AzureWebJobsHealthCheck> logger) { this.azureWebJobsHealthCheckService = azureWebJobsHealthCheckService; this.logger = logger; }