| Package | Description |
|---|---|
| org.wisdom.test.assertions | |
| org.wisdom.test.parents |
| 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. |
| Constructor and Description |
|---|
ActionResultAssert(Action.ActionResult actual) |
| Modifier and Type | Method and Description |
|---|---|
Action.ActionResult |
Action.invoke()
Invokes the configured action.
|
| Modifier and Type | Method and Description |
|---|---|
String |
WisdomUnitTest.contentType(Action.ActionResult result)
Helper method retrieving the mime-type of the response to an action.
|
com.fasterxml.jackson.databind.node.ObjectNode |
WisdomUnitTest.json(Action.ActionResult result)
Helper method to get the content of the response as Object Node.
|
com.fasterxml.jackson.databind.node.ArrayNode |
WisdomUnitTest.jsonarray(Action.ActionResult result)
Helper method to get the content of the response as Array Node.
|
int |
WisdomUnitTest.status(Action.ActionResult result)
Helper method retrieving the status code of the response to an action.
|
byte[] |
WisdomUnitTest.toBytes(Action.ActionResult result)
Helper method to get the content of the response as byte array.
|
String |
WisdomUnitTest.toString(Action.ActionResult result)
Helper method to get the content of the response as String.
|
Copyright © 2013–2015 Wisdom Framework. All rights reserved.