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