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