public class SessionAssert extends org.assertj.core.api.AbstractAssert<SessionAssert,org.wisdom.api.cookies.SessionCookie>
SessionCookie.| Modifier | Constructor and Description |
|---|---|
protected |
SessionAssert(org.wisdom.api.cookies.SessionCookie actual)
Creates a
SessionAssert. |
| Modifier and Type | Method and Description |
|---|---|
static SessionAssert |
assertThat(org.wisdom.api.cookies.SessionCookie actual)
Creates a
SessionAssert. |
SessionAssert |
containsEntry(String key,
String value)
Enforces that the session contains the given entry.
|
SessionAssert |
doesNotContain(String key)
Enforces that the session does not contain the given entry.
|
SessionAssert |
isEmpty()
Enforces that the session is empty.
|
SessionAssert |
isNotEmpty()
Enforces that the session is not empty.
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator, withThreadDumpOnErrorprotected SessionAssert(org.wisdom.api.cookies.SessionCookie actual)
SessionAssert.actual - the session cookiepublic static SessionAssert assertThat(org.wisdom.api.cookies.SessionCookie actual)
SessionAssert. Tests should use this method.actual - the session cookiepublic SessionAssert isEmpty()
public SessionAssert isNotEmpty()
public SessionAssert containsEntry(String key, String value)
key - the keyvalue - the valuepublic SessionAssert doesNotContain(String key)
key - the keyCopyright © 2013–2015 Wisdom Framework. All rights reserved.