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