public class ShouldBeInThePast extends BasicErrorMessageFactory
Date
is in the past failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeInThePast(Date actual)
Creates a new
. |
static ErrorMessageFactory |
shouldBeInThePast(Date actual,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeInThePast(Date actual, ComparisonStrategy comparisonStrategy)
ShouldBeInThePast
.actual
- the actual value in the failed assertion.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeInThePast(Date actual)
ShouldBeInThePast
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.