3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
CreatedResultTests.cs (3)
72
PopulateMetadata
<Created>(((Delegate)MyApi).GetMethodInfo(), builder);
95
Assert.Throws<ArgumentNullException>("method", () =>
PopulateMetadata
<Created>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0)));
96
Assert.Throws<ArgumentNullException>("builder", () =>
PopulateMetadata
<Created>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));