| Modifier and Type | Method and Description |
|---|---|
static <T> ResponseEntityAssert<T> |
Assertions.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.isBadRequest() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isConflict() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isCreated() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isForbidden() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isInternalServerError() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isOk() |
ResponseEntityAssert<T> |
ResponseEntityAssert.isUnauthorized() |
Copyright © 2018. All rights reserved.