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

isProxyAuthenticationRequired

open fun isProxyAuthenticationRequired(): ResultMatcher

Assert the response status code is HttpStatus.PROXY_AUTHENTICATION_REQUIRED (407).