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