Package org.assertj.core.error
Class ShouldHaveCause
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveCause
- All Implemented Interfaces:
ErrorMessageFactory
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ShouldHaveCause
(Throwable expectedCause) private
ShouldHaveCause
(Throwable actual, Class<? extends Throwable> expectedCauseClass) private
ShouldHaveCause
(Throwable actual, String expectedCauseMessage) private
ShouldHaveCause
(Throwable actual, Throwable expectedCause) -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldHaveCause
(Throwable actualCause) static ErrorMessageFactory
shouldHaveCause
(Throwable actual, Throwable expectedCause) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
ShouldHaveCause
-
ShouldHaveCause
-
ShouldHaveCause
-
ShouldHaveCause
-
-
Method Details
-
shouldHaveCause
-
shouldHaveCause
-