public class ShouldBeInTheFuture extends BasicErrorMessageFactory
Date is in the future failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeInTheFuture(Date actual)
Creates a new
ShouldBeInTheFuture. |
static ErrorMessageFactory |
shouldBeInTheFuture(Date actual,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldBeInTheFuture. |
create, equals, hashCode, toStringpublic static ErrorMessageFactory shouldBeInTheFuture(Date actual, ComparisonStrategy comparisonStrategy)
ShouldBeInTheFuture.actual - the actual value in the failed assertion.comparisonStrategy - the ComparisonStrategy used to evaluate assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldBeInTheFuture(Date actual)
ShouldBeInTheFuture.actual - the actual value in the failed assertion.ErrorMessageFactory.Copyright © 2013 AssertJ. All Rights Reserved.