Package org.assertj.core.error
Class ShouldBeCurrentYearMonth
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeCurrentYearMonth
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeCurrentYearMonth extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that aYearMonthis the current one (matching year and month).- Since:
- 3.26.0
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldBeCurrentYearMonth(java.time.YearMonth actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldBeCurrentYearMonth(java.time.YearMonth actual)Creates a new.ShouldBeCurrentYearMonth-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldBeCurrentYearMonth
public static ErrorMessageFactory shouldBeCurrentYearMonth(java.time.YearMonth actual)
Creates a new.ShouldBeCurrentYearMonth- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
-