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