|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of ThrowableAssert in org.fest.assertions |
|---|
| Methods in org.fest.assertions that return ThrowableAssert | |
|---|---|
ThrowableAssert |
ThrowableAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
ThrowableAssert |
ThrowableAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static ThrowableAssert |
Assertions.assertThat(Throwable actual)
Creates a new instance of . |
ThrowableAssert |
ThrowableAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
ThrowableAssert |
ThrowableAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
ThrowableAssert |
ThrowableAssert.hasMessage(String message)
Verifies that the message of the actual Throwable is equal to the given one. |
ThrowableAssert |
ThrowableAssert.hasNoCause()
Verifies that the actual Throwable does not have a cause. |
ThrowableAssert |
ThrowableAssert.isExactlyInstanceOf(Class<?> type)
Verifies that the actual Throwable is an instance of the given type. |
ThrowableAssert |
ThrowableAssert.isInstanceOf(Class<? extends Throwable> type)
Verifies that the actual Throwable is an instance of the given type. |
ThrowableAssert |
ThrowableAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||