spring-framework / org.springframework.test.web.client.response / MockRestResponseCreators / withBadRequest

withBadRequest

open static fun withBadRequest(): DefaultResponseCreator

ResponseCreator for a 400 response (BAD_REQUEST).