3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
BadRequestOfTResultTests.cs (3)
114
PopulateMetadata
<BadRequest<Todo>>(((Delegate)MyApi).GetMethodInfo(), builder);
138
Assert.Throws<ArgumentNullException>("method", () =>
PopulateMetadata
<BadRequest<object>>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
139
Assert.Throws<ArgumentNullException>("builder", () =>
PopulateMetadata
<BadRequest<object>>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));