Uses of Class
com.github.ngeor.yak4j.ResponseEntityAssert
-
-
Uses of ResponseEntityAssert in com.github.ngeor.yak4j
Methods in com.github.ngeor.yak4j that return ResponseEntityAssert Modifier and Type Method Description static <T> ResponseEntityAssert<T>Assertions. assertThat(ResponseEntity<T> responseEntity)Starts building assertions for the given response entity.ResponseEntityAssert<T>ResponseEntityAssert. hasBody(Consumer<T> requirements)Verifies that the response entity contains a body that satisfies the given requirements.ResponseEntityAssert<T>ResponseEntityAssert. hasBody(T body)Verifies that the response contains the given object as body.ResponseEntityAssert<T>ResponseEntityAssert. hasNotNullBody()Verifies that the body of the response entity is not null.ResponseEntityAssert<T>ResponseEntityAssert. hasStatus(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. isNotFound()ResponseEntityAssert<T>ResponseEntityAssert. isOk()ResponseEntityAssert<T>ResponseEntityAssert. isUnauthorized()
-