public class ShouldHaveDateField extends BasicErrorMessageFactory
Date
has a year, month, day, ...
failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveDateField(Date actual,
String fieldDescription,
int fieldValue)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveDateField(Date actual, String fieldDescription, int fieldValue)
ShouldHaveDateField
.actual
- the actual value in the failed assertion.fieldDescription
- the fieldDescription of value : year, month, day, ...fieldValue
- the field value used in the failed assertion to compare the actual date field value to.ErrorMessageFactory
.Copyright © 2013–2018 AssertJ. All rights reserved.