spring-framework / org.springframework.test.web.servlet.result / CookieResultMatchers / doesNotExist

doesNotExist

open fun doesNotExist(name: String): ResultMatcher

Assert a cookie does not exist. Note that the existence check is irrespective of whether max age is 0, i.e. expired.