ErrorMessageFactorypublic class ShouldBeInThePast extends BasicErrorMessageFactory
Date is in the past failed.arguments, format| Modifier and Type | Method | Description |
|---|---|---|
static ErrorMessageFactory |
shouldBeInThePast(Date actual) |
Creates a new
ShouldBeInThePast. |
static ErrorMessageFactory |
shouldBeInThePast(Date actual,
ComparisonStrategy comparisonStrategy) |
Creates a new
ShouldBeInThePast. |
create, create, create, equals, hashCode, toString, unquotedStringpublic 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. All rights reserved.