ErrorMessageFactory
public class ShouldBeInTheFuture extends BasicErrorMessageFactory
Date
is in the future failed.arguments, format
Modifier and Type | Method | Description |
---|---|---|
static ErrorMessageFactory |
shouldBeInTheFuture(Date actual) |
Creates a new
ShouldBeInTheFuture . |
static ErrorMessageFactory |
shouldBeInTheFuture(Date actual,
ComparisonStrategy comparisonStrategy) |
Creates a new
ShouldBeInTheFuture . |
create, create, create, equals, hashCode, toString, unquotedString
public 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 © 2014–2019. All rights reserved.