Package | Description |
---|---|
org.fest.assertions.api |
Modifier and Type | Method and Description |
---|---|
static ThrowableAssert |
Assertions.assertThat(java.lang.Throwable actual)
Creates a new instance of
. |
ThrowableAssert |
ThrowableAssert.hasMessage(java.lang.String message)
Verifies that the message of the actual
Throwable is equal to the given one. |
ThrowableAssert |
ThrowableAssert.hasMessageContaining(java.lang.String description)
Verifies that the message of the actual
Throwable contains with the given description. |
ThrowableAssert |
ThrowableAssert.hasMessageEndingWith(java.lang.String description)
Verifies that the message of the actual
Throwable ends with the given description. |
ThrowableAssert |
ThrowableAssert.hasMessageStartingWith(java.lang.String description)
Verifies that the message of the actual
Throwable starts with the given description. |
ThrowableAssert |
ThrowableAssert.hasNoCause()
Verifies that the actual
Throwable does not have a cause. |
Copyright © 2007–2018. All rights reserved.