11 references to CreateHttpContextWithBody
Microsoft.AspNetCore.Http.Extensions.Tests (11)
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (1)
267
var httpContext =
CreateHttpContextWithBody
(new Todo { Name = "Write tests", IsComplete = true });
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (5)
136
var httpContext =
CreateHttpContextWithBody
(todo);
141
httpContext =
CreateHttpContextWithBody
(null);
146
httpContext =
CreateHttpContextWithBody
(todo);
151
httpContext =
CreateHttpContextWithBody
(null);
465
var httpContext =
CreateHttpContextWithBody
(null);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (4)
57
httpContext =
CreateHttpContextWithBody
(requestData);
81
var httpContext =
CreateHttpContextWithBody
(requestData, serviceProvider);
123
var httpContext = hasBody ?
CreateHttpContextWithBody
(todo) :
CreateHttpContextWithBody
(null);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (1)
434
var httpContext =
CreateHttpContextWithBody
(originalTodo);