public override void When() { var healthChecker = new HealthCheckerBuilder() .WithHealthChecks(() => new[] {new ApplicationIsRunning()}) .Build(); _result = healthChecker.Check(); }
public override void When() { var healthChecker = new HealthCheckerBuilder() .WithHealthChecks(() => new[] { new ApplicationIsRunning() }) .Build(); _result = healthChecker.Check(); }
public override void When() { var healthChecker = new HealthCheckerBuilder() .WithHealthChecks(() => new IHealthCheck[0]) .Build(); _result = healthChecker.Check(); }
public void AssemblyVersionIsSet() { var healthOutcome = new HealthCheckOutcome(Results.HealthCheckStatus.Okay, "Test", new Results.IndividualHealthCheckResult[0], DateTimeOffset.Now); healthOutcome.NotDeadYet.ShouldNotBeNullOrEmpty(); }