| Package | Description |
|---|---|
| org.wisdom.test.assertions |
| Modifier and Type | Method and Description |
|---|---|
static ContextAssert |
WisdomAssertions.assertThat(org.wisdom.api.http.Context actual)
Give access to
Context assertion. |
static ContextAssert |
ContextAssert.assertThat(org.wisdom.api.http.Context actual)
Creates a
ContextAssert. |
<T> ContextAssert |
ContextAssert.hasBody(Class<T> klass,
T body)
Checks that the actual context has the given body.
|
ContextAssert |
ContextAssert.hasBody(String body)
Checks that the actual context has the given body.
|
ContextAssert |
ContextAssert.hasBodyMatch(String regex)
Checks that the actual context has a body matching the given regex.
|
ContextAssert |
ContextAssert.hasInBody(String inBody)
Checks that the actual context has the given String in its body (i.e.
|
ContextAssert |
ContextAssert.hasInSession(String key,
String value)
Checks that the actual context has a given entry in its session.
|
ContextAssert |
ContextAssert.hasParameter(String key,
String value)
Checks that the actual context has a given parameter.
|
ContextAssert |
ContextAssert.isMultipart()
Checks that the actual context is multipart.
|
ContextAssert |
ContextAssert.isNotMultipart()
Checks that the actual context is not multipart.
|
Copyright © 2013–2015 Wisdom Framework. All rights reserved.