3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
BadRequestResultTests.cs (3)
54PopulateMetadata<BadRequest>(((Delegate)MyApi).GetMethodInfo(), builder); 77Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<BadRequest>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 78Assert.Throws<ArgumentNullException>("builder", () => PopulateMetadata<BadRequest>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));