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

is4xxClientError

open fun is4xxClientError(): ResultMatcher

Assert the response status code is in the 4xx range.