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

withServerError

open static fun withServerError(): DefaultResponseCreator

ResponseCreator for a 500 response (SERVER_ERROR).