7 references to AsExistingApplication
Aspire.Hosting.Azure.EntraId.Tests (7)
EntraIdProvisioningTests.cs (1)
1164
: entra.
AsExistingApplication
(TenantId, ClientId);
EntraIdResourceBuilderTests.cs (5)
170
Assert.Throws<ArgumentNullException>(() => EntraIdResourceExtensions.
AsExistingApplication
(null!, TenantId, ClientId));
172
Assert.Throws<ArgumentNullException>(() => entra.
AsExistingApplication
((string)null!, ClientId));
173
Assert.Throws<ArgumentNullException>(() => entra.
AsExistingApplication
(TenantId, (string)null!));
176
Assert.Throws<ArgumentException>(() => entra.
AsExistingApplication
("my-tenant", ClientId));
177
Assert.Throws<ArgumentException>(() => entra.
AsExistingApplication
(TenantId, "my-client"));
LocalDeveloperCertificateTests.cs (1)
264
Assert.Throws<InvalidOperationException>(() => created.
AsExistingApplication
(tenant, client));