Uses of Class
org.springframework.test.web.reactive.server.assertj.ResponseCookieMapAssert
Packages that use ResponseCookieMapAssert
Package
Description
AssertJ support for WebTestClient.
-
Uses of ResponseCookieMapAssert in org.springframework.test.web.reactive.server.assertj
Subclasses with type arguments of type ResponseCookieMapAssert in org.springframework.test.web.reactive.server.assertjMethods in org.springframework.test.web.reactive.server.assertj that return ResponseCookieMapAssertModifier and TypeMethodDescriptionResponseCookieMapAssert.containsCookie(String name) Verify that the actual cookies contain a cookie with the givenname.ResponseCookieMapAssert.containsCookies(String... names) Verify that the actual cookies contain cookies with the givennames.WebTestClientResponseAssert.cookies()ResponseCookieMapAssert.doesNotContainCookie(String name) Verify that the actual cookies do not contain a cookie with the givenname.ResponseCookieMapAssert.doesNotContainCookies(String... names) Verify that the actual cookies do not contain any cookies with the givennames.ResponseCookieMapAssert.hasCookieSatisfying(String name, Consumer<ResponseCookie> cookieRequirements) Verify that the actual cookies contain a cookie with the givennamethat satisfies the givencookieRequirements.Verify that the actual cookies contain a cookie with the givennamewhose domain is equal to the given one.Verify that the actual cookies contain a cookie with the givennamewhose max age is equal to the given one.Verify that the actual cookies contain a cookie with the givennamewhose path is equal to the given one.Verify that the actual cookies contain a cookie with the givennamewhose value is equal to the given one.ResponseCookieMapAssert.isHttpOnly(String name, boolean expected) Verify that the actual cookies contain a cookie with the givennamewhose http only flag is equal to the given one.Verify that the actual cookies contain a cookie with the givennamewhose secure flag is equal to the give one.