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

isFound

open fun isFound(): ResultMatcher

Assert the response status code is HttpStatus.FOUND (302).