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