assert the response status code is in the 4xx range . concode_field_sep ExchangeResult exchangeResult concode_elem_sep WebTestClient.ResponseSpec responseSpec concode_field_sep WebTestClient.ResponseSpec isCreated concode_elem_sep WebTestClient.ResponseSpec isFound concode_elem_sep WebTestClient.ResponseSpec assertStatusAndReturn concode_elem_sep WebTestClient.ResponseSpec reasonEquals concode_elem_sep WebTestClient.ResponseSpec isBadRequest concode_elem_sep WebTestClient.ResponseSpec is2xxSuccessful concode_elem_sep WebTestClient.ResponseSpec isNotModified concode_elem_sep WebTestClient.ResponseSpec isPermanentRedirect concode_elem_sep WebTestClient.ResponseSpec isNotFound concode_elem_sep WebTestClient.ResponseSpec isOk concode_elem_sep WebTestClient.ResponseSpec isAccepted concode_elem_sep WebTestClient.ResponseSpec isNoContent concode_elem_sep WebTestClient.ResponseSpec is5xxServerError concode_elem_sep WebTestClient.ResponseSpec assertSeriesAndReturn concode_elem_sep WebTestClient.ResponseSpec isSeeOther concode_elem_sep WebTestClient.ResponseSpec isTemporaryRedirect concode_elem_sep WebTestClient.ResponseSpec is3xxRedirection concode_elem_sep WebTestClient.ResponseSpec isEqualTo concode_elem_sep WebTestClient.ResponseSpec isEqualTo concode_elem_sep WebTestClient.ResponseSpec is1xxInformational concode_elem_sep WebTestClient.ResponseSpec isUnauthorized
WebTestClient . ResponseSpec function ( ) { return assertSeriesAndReturn ( HttpStatus . Series . CLIENT_ERROR ) ; }