AssertJ support for MockMvc.
-
Verify that the actual cookies contain a cookie with the given name
.
Verify that the actual cookies contain cookies with the given names
.
Return a new
assertion object that uses the
response's
cookies as the object to test.
Verify that the actual cookies do not contain a cookie with the given
name
.
Verify that the actual cookies do not contain any cookies with the given
names
.
Verify that the actual cookies contain a cookie with the given name
that satisfies the given cookieRequirements
.
Verify that the actual cookies contain a cookie with the given
name
whose
domain is equal to the given one.
Verify that the actual cookies contain a cookie with the given
name
whose
max age is equal to the given one.
Verify that the actual cookies contain a cookie with the given
name
whose
path is equal to the given one.
Verify that the actual cookies contain a cookie with the given
name
whose
value is equal to the given one.
Verify that the actual cookies contain a cookie with the given
name
whose
http only flag is equal to the given
one.
Verify that the actual cookies contain a cookie with the given
name
whose
secure flag is equal to the give one.