public void AddDbHealthCheck4Test()
 {
     Assert.Throws <ArgumentNullException>("builder", () => Extensions.AddDbHealthCheck <DbContext>(null, "Test", null, 2));
 }
        public void AddDbHealthCheck2Test()
        {
            var builder = new HealthChecksBuilderMock();

            Assert.Throws <ArgumentNullException>("queryAsync", () => Extensions.AddDbHealthCheck <DbContext>(builder, "Test", null, 2));
        }