public void CheckAsync_404_Test()
        {
            var checker = new HttpHealthChecker("mycheker", "https://github.com/thepage/4/0/4");

            Assert.AreEqual("mycheker", checker.Name);
            Assert.ThrowsException <AggregateException>(() => checker.CheckAsync().Result);
        }
        public void CheckAsync_No_Reachable_Test()
        {
            var checker = new HttpHealthChecker("mycheker", "https://192.168.246.246");

            Assert.AreEqual("mycheker", checker.Name);
            Assert.ThrowsException <AggregateException>(() => checker.CheckAsync().Result);
        }
        public void CheckAsync_OK_Test()
        {
            var checker = new HttpHealthChecker("mycheker", "https://github.com/");

            Assert.AreEqual("mycheker", checker.Name);
            Assert.IsNull(checker.CheckAsync().Result);
        }