Package org.assertj.core.error
Class ShouldBeEven
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeEven
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeEven extends BasicErrorMessageFactory
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 Modifier Constructor Description privateShouldBeEven(java.lang.Number actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeEven(java.lang.Number actual)Creates a new.ShouldBeEven-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldBeEven
public static ErrorMessageFactory shouldBeEven(java.lang.Number actual)
Creates a new.ShouldBeEven- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
-