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.- Author:
- Cal027
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldBeEven(Number actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeEven(Number actual)Creates a new.ShouldBeEven-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Constructor Detail
-
ShouldBeEven
private ShouldBeEven(Number actual)
-
-
Method Detail
-
shouldBeEven
public static ErrorMessageFactory shouldBeEven(Number actual)
Creates a new.ShouldBeEven- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
-