3 instantiations of TestServiceProvider
Microsoft.AspNetCore.OpenApi.Tests (3)
Services\OpenApiDocumentServiceTestsBase.cs (3)
156new DefaultParameterPolicyFactory(Options.Create(options), new TestServiceProvider()), 162var serviceProvider = new TestServiceProvider(); 254public static TestServiceProvider Instance { get; } = new TestServiceProvider();
8 references to TestServiceProvider
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiDocumentServiceTestsBase.cs (8)
37var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope(); 46var scopedService = ((TestServiceProvider)builder.ServiceProvider).CreateScope(); 89((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService; 91((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService; 132((TestServiceProvider)builder.ServiceProvider).TestSchemaService = schemaService; 134((TestServiceProvider)builder.ServiceProvider).TestDocumentService = documentService; 162var serviceProvider = new TestServiceProvider(); 254public static TestServiceProvider Instance { get; } = new TestServiceProvider();