| Package | Description |
|---|---|
| org.wisdom.test.assertions |
| Modifier and Type | Method and Description |
|---|---|
static ActionResultAssert |
WisdomAssertions.assertThat(Action.ActionResult actual)
Give access to
Action.ActionResult assertion. |
static ActionResultAssert |
ActionResultAssert.assertThat(Action.ActionResult actual)
Creates a
ActionResultAssert. |
ActionResultAssert |
ActionResultAssert.doesNotHaveInSession(String key)
Asserts that the
Action.ActionResult doest not have the given key in its session. |
ActionResultAssert |
ActionResultAssert.hasCharset(Charset charset)
Asserts that the
Action.ActionResult has the given charset. |
<T> ActionResultAssert |
ActionResultAssert.hasContent(Class<T> klass,
T body)
Asserts that the
Action.ActionResult has the given content. |
ActionResultAssert |
ActionResultAssert.hasContent(String content)
Asserts that the
Action.ActionResult has the given content. |
ActionResultAssert |
ActionResultAssert.hasContentMatch(String regex)
Asserts that the
Action.ActionResult has a content matching the given regex. |
ActionResultAssert |
ActionResultAssert.hasContentType(String contentType)
Asserts that the
Action.ActionResult has the given content type. |
ActionResultAssert |
ActionResultAssert.hasFullContentType(String fullContentType)
Asserts that the
Action.ActionResult has the given content type and charset. |
ActionResultAssert |
ActionResultAssert.hasHeader(String headerName)
Asserts that the result contains the given header.
|
ActionResultAssert |
ActionResultAssert.hasInContent(String inBody)
Asserts that the
Action.ActionResult has the given String in its body. |
ActionResultAssert |
ActionResultAssert.hasInSession(String key,
String value)
Asserts that the
Action.ActionResult has the given key-value in its session. |
ActionResultAssert |
ActionResultAssert.hasStatus(Integer statusCode)
Asserts that the
Action.ActionResult has the given HTTP status. |
ActionResultAssert |
ActionResultAssert.isNotNull()
Asserts that the result is not null.
|
ActionResultAssert |
ActionResultAssert.sessionIsEmpty()
Asserts that the
Action.ActionResult has an empty session. |
ActionResultAssert |
ActionResultAssert.sessionIsNotEmpty()
Asserts that the
Action.ActionResult's session is not empty. |
Copyright © 2013–2015 Wisdom Framework. All rights reserved.