4 references to AddFakeLoggingOutputSink
Microsoft.Extensions.Hosting.Testing.Tests (4)
HostingFakesExtensionsTests.cs (4)
301
Assert.Throws<ArgumentNullException>(() => FakeHost.CreateBuilder().
AddFakeLoggingOutputSink
(null!));
307
Assert.Throws<ArgumentNullException>(() => ((IHostBuilder)null!).
AddFakeLoggingOutputSink
(_ => { }));
317
.
AddFakeLoggingOutputSink
(firstCallbackTarget.Add)
318
.
AddFakeLoggingOutputSink
(secondCallbackTarget.Add)