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

public Class ShouldBeOdd

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message that indicates an assertion that verifies that a whole number is odd 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.
shouldBeOdd
(Number
the actual value in the failed assertion.
actual
)

Creates a new ShouldBeOdd.

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

Constructor Detail

ShouldBeOddback to summary
private ShouldBeOdd(Number actual)

Method Detail

shouldBeOddback to summary
public static ErrorMessageFactory shouldBeOdd(Number actual)

Creates a new ShouldBeOdd.

Parameters
actual:Number

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.