23 references to MockImageBuilder
Aspire.Hosting.Azure.Tests (20)
AzureDeployerTests.cs (20)
161var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 202var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 251var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 300var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 358var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 464var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 642var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 687var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 898var mockImageBuilder = app.Services.GetRequiredService<IResourceContainerImageBuilder>() as MockImageBuilder; 1104builder.Services.AddSingleton<IResourceContainerImageBuilder, MockImageBuilder>(); 1346builder.Services.AddSingleton<IResourceContainerImageBuilder, MockImageBuilder>();
Aspire.Hosting.Tests (3)
ProjectResourceTests.cs (3)
811builder.Services.AddSingleton<IResourceContainerImageBuilder, MockImageBuilder>(); 841var mockImageBuilder = (MockImageBuilder)app.Services.GetRequiredService<IResourceContainerImageBuilder>();