3 references to WithReference
Aspire.Hosting.Tests (3)
WithReferenceTests.cs (3)
275
Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").
WithReference
("petstore", new Uri("petstore.swagger.io", UriKind.Relative)));
283
Assert.Throws<InvalidOperationException>(() => builder.AddProject<ProjectA>("projecta").
WithReference
("petstore", new Uri("https://petstore.swagger.io/v2")));
292
.
WithReference
("petstore", new Uri("https://petstore.swagger.io/"));