6 references to Resolve
Aspire.Azure.AI.Projects.Tests (6)
AspireAzureAIProjectsExtensionsTests.cs (6)
81
var client =
Resolve
(host.Services, keyed);
82
Assert.Same(client,
Resolve
(host.Services, keyed));
98
var exception = Assert.Throws<InvalidOperationException>(() =>
Resolve
(host.Services, keyed));
151
await
Resolve
(host.Services, keyed).AgentAdministrationClient.GetAgentAsync("agent");
178
Assert.NotNull(
Resolve
(host.Services, keyed));
235
var exception = Assert.Throws<ArgumentException>(() =>
Resolve
(host.Services, keyed));