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