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