private static IHostBuilder CreateHostBuilder() { return(FakedServiceScopeHostBuilderFactory.Create(sc => { sc.AddSingleton <IHost, HostSpy>(); })); }
private static IHostBuilder CreateHostBuilder() => FakedServiceScopeHostBuilderFactory.Create(sc => sc.AddSingleton <IHost, HostSpy>());