Example #1
0
        public void Health_check_consists_of_a_single_monitor()
        {
            var healthCheck = new HealthCheck(MonitorConfig.Build("Test"), () => true);

            healthCheck.GetAllMonitors().Should().HaveCount(1);
            healthCheck.GetAllMonitors().Single().Should().BeSameAs(healthCheck);
        }