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