Package org.assertj.core.error
Class ShouldBeCurrentYearMonth
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeCurrentYearMonth
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
YearMonth
is the current one (matching year and month).- Since:
- 3.26.0
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldBeCurrentYearMonth(YearMonth actual) Creates a new.ShouldBeCurrentYearMonthMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeCurrentYearMonth
Creates a new.ShouldBeCurrentYearMonth- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-