2 references to StartAndStopAsync
Microsoft.Extensions.Hosting.Testing.Tests (2)
HostingFakesExtensionsTests.cs (2)
21
var exception = await Record.ExceptionAsync(() => ((IHostedService)null!).
StartAndStopAsync
());
34
await serviceMock.Object.
StartAndStopAsync
(tokenSource.Token);