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, formatter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateShouldHaveRootCause(Throwable actual, String expectedMessage) privateShouldHaveRootCause(Throwable actual, Throwable expectedCause) privateShouldHaveRootCause(Throwable actual, Throwable actualCause, Class<? extends Throwable> expectedCauseClass) privateShouldHaveRootCause(Throwable actual, Throwable actualCause, String expectedCauseMessage) privateShouldHaveRootCause(Throwable actual, Throwable actualCause, Throwable expectedCause) -
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
-
Constructor Details
-
ShouldHaveRootCause
-
ShouldHaveRootCause
-
ShouldHaveRootCause
-
ShouldHaveRootCause
-
ShouldHaveRootCause
-
-
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
-