public class ShouldHaveTime extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldHaveTime(Date actual,
long expectedTimestamp)
Creates a new
ShouldHaveTime. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldHaveTime(Date actual, long expectedTimestamp)
ShouldHaveTime.actual - the actual value in the failed assertion.expectedTimestamp - the expected timestamp.ErrorMessageFactory.Copyright © 2014–2016 AssertJ. All rights reserved.