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

public Class ShouldBeAfterOrEqualTo

extends BasicErrorMessageFactory
Class Inheritance
Imports
org.assertj.core.internal.ComparisonStrategy, .StandardComparisonStrategy

Creates an error message indicating that an assertion that verifies that an Object is after or equal to another one failed.
Author
Joel Costigliola

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
ShouldBeAfterOrEqualTo(Object actual, Object other, ComparisonStrategy comparisonStrategy)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeAfterOrEqualTo
(Object
the actual value in the failed assertion.
actual
,
Object
the value used in the failed assertion to compare the actual value to.
other
,
ComparisonStrategy
the ComparisonStrategy used to evaluate assertion.
comparisonStrategy
)

Creates a new ShouldBeAfterOrEqualTo.

public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeAfterOrEqualTo
(Object
the actual value in the failed assertion.
actual
,
Object
the value used in the failed assertion to compare the actual value to.
other
)

Creates a new ShouldBeAfterOrEqualTo.

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

Constructor Detail

ShouldBeAfterOrEqualToback to summary
private ShouldBeAfterOrEqualTo(Object actual, Object other, ComparisonStrategy comparisonStrategy)

Method Detail

shouldBeAfterOrEqualToback to summary
public static ErrorMessageFactory shouldBeAfterOrEqualTo(Object actual, Object other, ComparisonStrategy comparisonStrategy)

Creates a new ShouldBeAfterOrEqualTo.

Parameters
actual:Object

the actual value in the failed assertion.

other:Object

the value used in the failed assertion to compare the actual value to.

comparisonStrategy:ComparisonStrategy

the ComparisonStrategy used to evaluate assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldBeAfterOrEqualToback to summary
public static ErrorMessageFactory shouldBeAfterOrEqualTo(Object actual, Object other)

Creates a new ShouldBeAfterOrEqualTo.

Parameters
actual:Object

the actual value in the failed assertion.

other:Object

the value used in the failed assertion to compare the actual value to.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.