Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeEven

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message that indicates an assertion that verifies that a whole number is even failed.
Author
Cal027

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeEven
(Number
the actual value in the failed assertion.
actual
)

Creates a new ShouldBeEven.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeEvenback to summary
private ShouldBeEven(Number actual)

Method Detail

shouldBeEvenback to summary
public static ErrorMessageFactory shouldBeEven(Number actual)

Creates a new ShouldBeEven.

Parameters
actual:Number

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.