8 references to FakeServer
Microsoft.AspNetCore.Hosting.Tests (8)
WebHostTests.cs (8)
144var server = (FakeServer)host.Services.GetRequiredService<IServer>(); 167var server = (FakeServer)host.Services.GetRequiredService<IServer>(); 909var server = (FakeServer)host.Services.GetRequiredService<IServer>(); 912var features = FakeServer.NewFeatureCollection(); 1457return builder.ConfigureServices(services => services.AddSingleton<IServer, WebHostTests.FakeServer>());