Uses of Class
org.springframework.test.web.servlet.assertj.CookieMapAssert
Packages that use CookieMapAssert
-
Uses of CookieMapAssert in org.springframework.test.web.servlet.assertj
Methods in org.springframework.test.web.servlet.assertj that return CookieMapAssertModifier and TypeMethodDescriptionCookieMapAssert.containsCookie
(String name) Verify that the actual cookies contain a cookie with the givenname
.CookieMapAssert.containsCookies
(String... names) Verify that the actual cookies contain cookies with the givennames
.MvcTestResultAssert.cookies()
CookieMapAssert.doesNotContainCookie
(String name) Verify that the actual cookies do not contain a cookie with the givenname
.CookieMapAssert.doesNotContainCookies
(String... names) Verify that the actual cookies do not contain any cookies with the givennames
.CookieMapAssert.hasCookieSatisfying
(String name, Consumer<Cookie> cookieRequirements) Verify that the actual cookies contain a cookie with the givenname
that satisfies the givencookieRequirements
.Verify that the actual cookies contain a cookie with the givenname
whose domain is equal to the given one.Verify that the actual cookies contain a cookie with the givenname
whose max age is equal to the given one.Verify that the actual cookies contain a cookie with the givenname
whose path is equal to the given one.Verify that the actual cookies contain a cookie with the givenname
whose value is equal to the given one.CookieMapAssert.isHttpOnly
(String name, boolean expected) Verify that the actual cookies contain a cookie with the givenname
whose http only flag is equal to the given one.Verify that the actual cookies contain a cookie with the givenname
whose secure flag is equal to the give one.