Package org.assertj.core.error
Class ShouldHaveRootCause
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveRootCause
- All Implemented Interfaces:
ErrorMessageFactory
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldHaveRootCause(Throwable actualCause) static ErrorMessageFactoryshouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause) static ErrorMessageFactoryshouldHaveRootCauseWithMessage(Throwable actual, Throwable actualCause, String expectedMessage) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveRootCauseWithMessage
public static ErrorMessageFactory shouldHaveRootCauseWithMessage(Throwable actual, Throwable actualCause, String expectedMessage) -
shouldHaveRootCause
public static ErrorMessageFactory shouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause) -
shouldHaveRootCause
-