Package org.assertj.core.error
Class ShouldHavePeriod
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHavePeriod
- All Implemented Interfaces:
ErrorMessageFactory
- Author:
- Hayden Meloche
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShouldHavePeriod
shouldHaveDays
(Period actual, int actualDays, int expectedDays) static ShouldHavePeriod
shouldHaveMonths
(Period actual, int actualMonths, int expectedMonths) static ShouldHavePeriod
shouldHaveYears
(Period actual, int actualYear, int expectedYear) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveYears
-
shouldHaveMonths
public static ShouldHavePeriod shouldHaveMonths(Period actual, int actualMonths, int expectedMonths) -
shouldHaveDays
-