ErrorMessageFactory
public class ShouldHaveTime extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method | Description |
---|---|---|
static ErrorMessageFactory |
shouldHaveTime(Date actual,
long expectedTimestamp) |
Creates a new
ShouldHaveTime . |
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. All rights reserved.