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