5 references to WithReference
Aspire.Hosting.Tests (5)
ExternalServiceTests.cs (2)
553
var ex = Assert.Throws<InvalidOperationException>(() => project.
WithReference
("api", uri));
566
project.
WithReference
("api", uri);
WithReferenceTests.cs (3)
482
Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").
WithReference
("petstore", new Uri("petstore.swagger.io", UriKind.Relative)));
490
Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").
WithReference
("petstore", new Uri("https://petstore.swagger.io/v2")));
499
.
WithReference
("petstore", new Uri("https://petstore.swagger.io/"));