3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
ConflictResultTests.cs (3)
55PopulateMetadata<Conflict>(((Delegate)MyApi).GetMethodInfo(), builder); 80Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<Conflict>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 81Assert.Throws<ArgumentNullException>("builder", () => PopulateMetadata<Conflict>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));