public class WisdomAssertions extends Object
| Constructor and Description |
|---|
WisdomAssertions() |
| Modifier and Type | Method and Description |
|---|---|
static StatusAssert |
assertStatus(Integer actual)
Give access to
Status assertion. |
static ActionResultAssert |
assertThat(Action.ActionResult actual)
Give access to
Action.ActionResult assertion. |
static ContextAssert |
assertThat(org.wisdom.api.http.Context actual)
Give access to
Context assertion. |
static <T> HttpResponseAssert<T> |
assertThat(HttpResponse<T> actual)
Give access to
HttpResponse assertion. |
static SessionAssert |
assertThat(org.wisdom.api.cookies.SessionCookie actual)
Give access to
SessionCookie assertion. |
public static ActionResultAssert assertThat(Action.ActionResult actual)
Action.ActionResult assertion.actual - The tested ActionResult.public static ContextAssert assertThat(org.wisdom.api.http.Context actual)
Context assertion.actual - The tested Context.public static SessionAssert assertThat(org.wisdom.api.cookies.SessionCookie actual)
SessionCookie assertion.actual - The tested SessionCookiepublic static <T> HttpResponseAssert<T> assertThat(HttpResponse<T> actual)
HttpResponse assertion.T - The HttpResponse type.actual - The tested HttpResponse.public static StatusAssert assertStatus(Integer actual)
Status assertion.actual - The tested Status.Copyright © 2013–2015 Wisdom Framework. All rights reserved.