-
Methods in io.reactiverse.junit5.web that return TestRequest
Modifier and Type |
Method |
Description |
TestRequest |
TestRequest.expect(Consumer<io.vertx.ext.web.client.HttpResponse<io.vertx.core.buffer.Buffer>>... asserts) |
Add one or more response asserts to the TestRequest.
|
static TestRequest |
TestRequest.testRequest(io.vertx.ext.web.client.HttpRequest<io.vertx.core.buffer.Buffer> request) |
|
static TestRequest |
TestRequest.testRequest(io.vertx.ext.web.client.WebClient client,
io.vertx.core.http.HttpMethod method,
String path) |
Creates a new TestRequest object with provided client, method and path
|
TestRequest |
TestRequest.with(Consumer<io.vertx.ext.web.client.HttpRequest<io.vertx.core.buffer.Buffer>>... transformations) |
Add one or more transformations to the TestRequest.
Note: this transformations are evaluated when one of the send methods is called
|