3 references to PopulateMetadata
Microsoft.AspNetCore.Http.Results.Tests (3)
InternalServerErrorResultTests.cs (3)
54PopulateMetadata<InternalServerError>(((Delegate)MyApi).GetMethodInfo(), builder); 77Assert.Throws<ArgumentNullException>("method", () => PopulateMetadata<InternalServerError>(null, new RouteEndpointBuilder(requestDelegate: null, RoutePatternFactory.Parse("/"), order: 0))); 78Assert.Throws<ArgumentNullException>("builder", () => PopulateMetadata<InternalServerError>(((Delegate)PopulateMetadata_ThrowsArgumentNullException_WhenMethodOrBuilderAreNull).GetMethodInfo(), null));