Example #1
0
        public async Task RunNatsHealthCheck()
        {
            var check  = new NatsHealthCheck(connectionString);
            var result = await check.CheckHealthAsync(context);

            Assert.Equal(HealthStatus.Healthy, result.Status);
        }
Example #2
0
 public void CreateaNatsInstance()
 {
     var check = new NatsHealthCheck(connectionString);
 }