public class RestAssuredMockMvcKotlinExtensionsKt
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
Extract(io.restassured.module.mockmvc.response.MockMvcResponse $receiver,
kotlin.jvm.functions.Function1<? super io.restassured.response.ExtractableResponse<io.restassured.module.mockmvc.response.MockMvcResponse>,? extends T> block)
A wrapper around ExtractableResponse that allow for extract data out of the response
|
static <T> T |
Extract(io.restassured.module.mockmvc.response.ValidatableMockMvcResponse $receiver,
kotlin.jvm.functions.Function1<? super io.restassured.response.ExtractableResponse<io.restassured.module.mockmvc.response.MockMvcResponse>,? extends T> block)
A wrapper around ExtractableResponse that allow for extract data out of the response
|
static io.restassured.module.mockmvc.specification.MockMvcRequestSpecification |
Given(kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestSpecification,? extends io.restassured.module.mockmvc.specification.MockMvcRequestSpecification> block)
A wrapper around given that starts building the request part of the test.
|
static io.restassured.module.mockmvc.response.ValidatableMockMvcResponse |
Then(io.restassured.module.mockmvc.response.MockMvcResponse $receiver,
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.response.ValidatableMockMvcResponse,kotlin.Unit> block)
A wrapper around then that allow configuration of response expectations.
|
static io.restassured.module.mockmvc.response.MockMvcResponse |
When(io.restassured.module.mockmvc.specification.MockMvcRequestSpecification $receiver,
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestAsyncSender,? extends io.restassured.module.mockmvc.response.MockMvcResponse> block)
A wrapper around MockMvcRequestSpecification.when that configures how the request is dispatched.
|
static io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl |
When(kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestSender,? extends io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl> block)
A wrapper around io.restassured.module.mockmvc.RestAssuredMockMvc.when that configures how the request is dispatched.
|
@NotNull
public static io.restassured.module.mockmvc.specification.MockMvcRequestSpecification Given(@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestSpecification,? extends io.restassured.module.mockmvc.specification.MockMvcRequestSpecification> block)
A wrapper around given that starts building the request part of the test.
@NotNull
public static io.restassured.module.mockmvc.response.MockMvcResponse When(@NotNull
io.restassured.module.mockmvc.specification.MockMvcRequestSpecification $receiver,
@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestAsyncSender,? extends io.restassured.module.mockmvc.response.MockMvcResponse> block)
A wrapper around MockMvcRequestSpecification.when that configures how the request is dispatched.
@NotNull
public static io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl When(@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.specification.MockMvcRequestSender,? extends io.restassured.module.mockmvc.internal.MockMvcRestAssuredResponseImpl> block)
A wrapper around io.restassured.module.mockmvc.RestAssuredMockMvc.when that configures how the request is dispatched.
@NotNull
public static io.restassured.module.mockmvc.response.ValidatableMockMvcResponse Then(@NotNull
io.restassured.module.mockmvc.response.MockMvcResponse $receiver,
@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.module.mockmvc.response.ValidatableMockMvcResponse,kotlin.Unit> block)
A wrapper around then that allow configuration of response expectations.
public static <T> T Extract(@NotNull
io.restassured.module.mockmvc.response.MockMvcResponse $receiver,
@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.response.ExtractableResponse<io.restassured.module.mockmvc.response.MockMvcResponse>,? extends T> block)
A wrapper around ExtractableResponse that allow for extract data out of the response
public static <T> T Extract(@NotNull
io.restassured.module.mockmvc.response.ValidatableMockMvcResponse $receiver,
@NotNull
kotlin.jvm.functions.Function1<? super io.restassured.response.ExtractableResponse<io.restassured.module.mockmvc.response.MockMvcResponse>,? extends T> block)
A wrapper around ExtractableResponse that allow for extract data out of the response