Implemented interface member:
property
Writes
Microsoft.Extensions.Logging.Testing.ITestSink.Writes
3 references to Writes
Aspire.Hosting.Tests (3)
Health\ResourceHealthCheckServiceTests.cs (3)
53
Assert.Contains(testSink.
Writes
, w => w.Message == "Resource 'resource' has no health checks to monitor.");
204
return testSink.
Writes
.Any(w => w.Message?.Contains($"Resource 'resource' health check monitoring loop starting delay of {rhcs.HealthyHealthCheckInterval}.") ?? false);
248
return testSink.
Writes
.Any(w => w.Message?.Contains($"Resource 'resource' health check monitoring loop starting delay of {(rhcs.NonHealthyHealthCheckStepInterval * i)}.") ?? false);