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