public class ShouldBeBeforeOrEqualTo extends BasicErrorMessageFactory
Object is before or equal to another one
failed.arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldBeBeforeOrEqualTo(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeBeforeOrEqualTo(java.lang.Object actual,
java.lang.Object other)
Creates a new
. |
static ErrorMessageFactory |
shouldBeBeforeOrEqualTo(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldBeBeforeOrEqualTo(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldBeBeforeOrEqualTo(java.lang.Object actual, java.lang.Object other, ComparisonStrategy comparisonStrategy)
ShouldBeBeforeOrEqualTo.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldBeBeforeOrEqualTo(java.lang.Object actual, java.lang.Object other)
ShouldBeBeforeOrEqualTo.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.