Package org.assertj.core.api
Class PeriodAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,Period>
-
- org.assertj.core.api.AbstractPeriodAssert<PeriodAssert>
-
- org.assertj.core.api.PeriodAssert
-
- All Implemented Interfaces:
Assert<PeriodAssert,Period>
,Descriptable<PeriodAssert>
,ExtensionPoints<PeriodAssert,Period>
public class PeriodAssert extends AbstractPeriodAssert<PeriodAssert>
Assertion methods forPeriod
- Since:
- 3.17.0
- Author:
- Hayden Meloche
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description PeriodAssert(Period period)
Creates a newPeriodAssert
-
Method Summary
-
Methods inherited from class org.assertj.core.api.AbstractPeriodAssert
hasDays, hasMonths, hasYears, isNegative, isPositive
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
-
-
-
Constructor Detail
-
PeriodAssert
public PeriodAssert(Period period)
Creates a newPeriodAssert
- Parameters:
period
- the actual value to verify
-
-