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