3 instantiations of TestServiceProvider
Microsoft.AspNetCore.OpenApi.Tests (3)
Services\OpenApiDocumentServiceTestsBase.cs (3)
155new DefaultParameterPolicyFactory(Options.Create(options), new TestServiceProvider()), 161var serviceProvider = new TestServiceProvider(); 253public static TestServiceProvider Instance { get; } = new TestServiceProvider();
8 references to TestServiceProvider
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiDocumentServiceTestsBase.cs (8)
36var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope(); 45var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope(); 88((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService; 90((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService; 131((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService; 133((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService; 161var serviceProvider = new TestServiceProvider(); 253public static TestServiceProvider Instance { get; } = new TestServiceProvider();