Package org.assertj.core.api
Class BigDecimalScaleAssert<T>
java.lang.Object
org.assertj.core.api.AbstractAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,Integer>
org.assertj.core.api.AbstractObjectAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,Integer>
org.assertj.core.api.AbstractComparableAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,Integer>
org.assertj.core.api.AbstractIntegerAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>>
org.assertj.core.api.AbstractBigDecimalScaleAssert<BigDecimalAssert>
org.assertj.core.api.BigDecimalScaleAssert<T>
- All Implemented Interfaces:
Assert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,
,Integer> ComparableAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,
,Integer> Descriptable<AbstractBigDecimalScaleAssert<BigDecimalAssert>>
,ExtensionPoints<AbstractBigDecimalScaleAssert<BigDecimalAssert>,
,Integer> NumberAssert<AbstractBigDecimalScaleAssert<BigDecimalAssert>,
Integer>
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionBigDecimalScaleAssert
(AbstractBigDecimalAssert<BigDecimalAssert> bigDecimalAssert) -
Method Summary
Modifier and TypeMethodDescriptionReturns to the BigDecimal on which we ran scale assertions on.Methods inherited from class org.assertj.core.api.AbstractIntegerAssert
isBetween, isCloseTo, isCloseTo, isCloseTo, isCloseTo, isEqualTo, isEqualTo, isEven, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNegative, isNotCloseTo, isNotCloseTo, isNotCloseTo, isNotCloseTo, isNotEqualTo, isNotNegative, isNotPositive, isNotZero, isOdd, isOne, isPositive, isStrictlyBetween, isZero, usingComparator, usingComparator, usingDefaultComparator
Methods inherited from class org.assertj.core.api.AbstractComparableAssert
inBinary, inHexadecimal, isEqualByComparingTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isNotEqualByComparingTo
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, 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, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, 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, describedAs, describedAs
-
Constructor Details
-
BigDecimalScaleAssert
-
-
Method Details
-
returnToBigDecimal
Description copied from class:AbstractBigDecimalScaleAssert
Returns to the BigDecimal on which we ran scale assertions on.Example:
assertThat(new BigDecimal("2.313")).scale() .isGreaterThan(1L) .isLessThan(5L) .returnToBigDecimal() .isPositive();
- Specified by:
returnToBigDecimal
in classAbstractBigDecimalScaleAssert<BigDecimalAssert>
- Returns:
- BigDecimal assertions.
-