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 ShouldHavePeriodshouldHaveDays(Period actual, int actualDays, int expectedDays) static ShouldHavePeriodshouldHaveMonths(Period actual, int actualMonths, int expectedMonths) static ShouldHavePeriodshouldHaveYears(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
-