3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
ValidationProblemResultTests.cs (3)
102
PopulateMetadata
<ValidationProblem>(((Delegate)MyApi).GetMethodInfo(), builder);
126
Assert.Throws<ArgumentNullException>("method", () =>
PopulateMetadata
<ValidationProblem>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
127
Assert.Throws<ArgumentNullException>("builder", () =>
PopulateMetadata
<ValidationProblem>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));