public class ShouldHaveTime extends BasicErrorMessageFactory
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHaveTime(java.util.Date actual,
long expectedTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveTime(java.util.Date actual,
long expectedTimestamp)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldHaveTime(java.util.Date actual,
long expectedTimestamp)
public static ErrorMessageFactory shouldHaveTime(java.util.Date actual, long expectedTimestamp)
ShouldHaveTime.actual - the actual value in the failed assertion.expectedTimestamp - the expected timestamp.ErrorMessageFactory.