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