Esempio n. 1
0
        public async Task ReturnHealthyCodeOnly()
        {
            var client = MockHttpClientFactory.Client(HttpStatusCode.OK);
            var result = new HealthMonitorResult();

            var healthCheck = new MonitorHealthCheck(new HealthCheckSetting {
                Uri = "test"
            }, result, client, _logger);
            await healthCheck.Check(default);