| Modifier and Type | Method and Description |
|---|---|
static <T> ResponseEntityAssert<T> |
ResponseEntityAssert.assertThat(org.springframework.http.ResponseEntity<T> responseEntity) |
ResponseEntityAssert<T> |
ResponseEntityAssert.hasBody(T body)
Verifies that the response contains the given object as body.
|
ResponseEntityAssert<T> |
ResponseEntityAssert.hasStatus(org.springframework.http.HttpStatus httpStatus)
Verifies that the response has the given HTTP status code.
|
ResponseEntityAssert<T> |
ResponseEntityAssert.isOk() |
Copyright © 2018. All rights reserved.