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