Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
static ThrowableAssert |
Assertions.assertThat(Throwable actual)
Creates a new instance of
. |
ThrowableAssert |
ThrowableAssert.hasMessage(String message)
Verifies that the message of the actual
Throwable is equal to the given one. |
ThrowableAssert |
ThrowableAssert.hasMessageContaining(String description)
Verifies that the message of the actual
Throwable contains with the given description. |
ThrowableAssert |
ThrowableAssert.hasMessageEndingWith(String description)
Verifies that the message of the actual
Throwable ends with the given description. |
ThrowableAssert |
ThrowableAssert.hasMessageStartingWith(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 © 2013 AssertJ. All Rights Reserved.