spring-framework / org.springframework.test.web.servlet.result / StatusResultMatchers / isInternalServerError

isInternalServerError

open fun isInternalServerError(): ResultMatcher

Assert the response status code is HttpStatus.INTERNAL_SERVER_ERROR (500).