Package org.assertj.core.error
Class ShouldBeEven
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeEven
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message that indicates an assertion that verifies that a whole number is even failed.
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeEven
(Number actual) Creates a new
.ShouldBeEven
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
ShouldBeEven
-
-
Method Details
-
shouldBeEven
Creates a new
.ShouldBeEven
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-