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