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