4 references to AddManualHealthCheck
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (4)
ManualHealthCheckExtensionsTests.cs (4)
18serviceCollection.AddHealthChecks().AddManualHealthCheck(); 27serviceCollection.AddHealthChecks().AddManualHealthCheck("test1", "test2"); 44Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddHealthChecks().AddManualHealthCheck()); 45Assert.Throws<ArgumentNullException>(() => ((IServiceCollection)null!).AddHealthChecks().AddManualHealthCheck(null!));