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