Package org.assertj.core.error
Class ShouldHaveNoCause
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveNoCause
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that an
Throwable has no cause failed.- Author:
- Joel Costigliola
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldHaveNoCause(Throwable actual) Creates a new.ShouldHaveNoCauseMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveNoCause
Creates a new.ShouldHaveNoCause- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-