Top Description Fields Constructors Methods
org.assertj.core.api

public Class AbstractLongAdderAssert<SELF extends AbstractLongAdderAssert<SELF>>

extends AbstractAssert<SELF extends AbstractLongAdderAssert<SELF>, LongAdder>
implements NumberAssert<SELF extends AbstractLongAdderAssert<SELF>, Long>, ComparableAssert<SELF extends AbstractLongAdderAssert<SELF>, Long>
Class Inheritance
All Implemented Interfaces
org.assertj.core.api.ComparableAssert, org.assertj.core.api.NumberAssert
Known Direct Subclasses
org.assertj.core.api.LongAdderAssert
Type Parameters
<SELF>
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details.
Static Imports
org.assertj.core.error.ShouldHaveValue.shouldHaveValue, .ShouldNotContainValue.shouldNotContainValue

Base class for all implementations of assertions for LongAdders.
Author
Grzegorz Piwowarek
Since
3.16.0

Field Summary

Modifier and TypeField and Description
pack-priv Longs
Inherited from org.assertj.core.api.AbstractAssert:
actualassertionErrorCreatorconditionscustomRepresentationinfomyselfobjectsprintAssertionsDescriptionthrowUnsupportedExceptionOnEquals

Constructor Summary

AccessConstructor and Description
protected
AbstractLongAdderAssert(LongAdder longAdder, Class<?> selfType)

Method Summary

Modifier and TypeMethod and Description
public SELF

Returns:

this assertion object.
doesNotHaveValue
(long
the unexpected value.
unexpected
)

Verifies that the actual sum has not the given value.

public SELF

Returns:

this assertion object.
hasValue
(long
the expected value.
expected
)

Verifies that the actual sum has the given value.

public SELF
isBetween(Long
the start value (inclusive), expected not to be null.
start
,
Long
the end value (inclusive), expected not to be null.
end
)

Implements org.assertj.core.api.NumberAssert.isBetween, org.assertj.core.api.ComparableAssert.isBetween.

Verifies that the actual value is in [start, end] range (start included, end included).
public SELF
isCloseTo(Long
the given number to compare the actual value to.
expected
,
Offset<Long>
the given positive offset.
offset
)

Implements org.assertj.core.api.NumberAssert.isCloseTo.

Verifies that the actual number is close to the given one within the given offset.
public SELF
isCloseTo(Long
the given number to compare the actual value to.
expected
,
Percentage
the given positive percentage.
percentage
)

Implements org.assertj.core.api.NumberAssert.isCloseTo.

Verifies that the actual number is close to the given one within the given percentage.
public SELF
isEqualByComparingTo(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isEqualByComparingTo.

Verifies that the actual value is equal to the given one by invoking Comparable#compareTo(Object).
public SELF
isGreaterThan(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isGreaterThan.

Verifies that the actual value is greater than the given one.
public SELF
isGreaterThanOrEqualTo(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isGreaterThanOrEqualTo.

Verifies that the actual value is greater than or equal to the given one.
public SELF
isLessThan(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isLessThan.

Verifies that the actual value is less than the given one.
public SELF
isLessThanOrEqualTo(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isLessThanOrEqualTo.

Verifies that the actual value is less than or equal to the given one.
public SELF
isNegative()

Implements org.assertj.core.api.NumberAssert.isNegative.

Verifies that the actual value is negative.
public SELF
isNotCloseTo(Long
the given number to compare the actual value to.
expected
,
Offset<Long>
the given positive offset.
offset
)

Implements org.assertj.core.api.NumberAssert.isNotCloseTo.

Verifies that the actual number is not close to the given one within the given offset.
public SELF
isNotCloseTo(Long
the given number to compare the actual value to.
expected
,
Percentage
the given positive percentage.
percentage
)

Implements org.assertj.core.api.NumberAssert.isNotCloseTo.

Verifies that the actual number is not close to the given one within the given percentage.
public SELF
isNotEqualByComparingTo(Long
the given value to compare the actual value to.
other
)

Implements org.assertj.core.api.ComparableAssert.isNotEqualByComparingTo.

Verifies that the actual value is not equal to the given one by invoking Comparable#compareTo(Object).
public SELF
isNotNegative()

Implements org.assertj.core.api.NumberAssert.isNotNegative.

Verifies that the actual value is non negative (positive or equal zero).
public SELF
isNotPositive()

Implements org.assertj.core.api.NumberAssert.isNotPositive.

Verifies that the actual value is non positive (negative or equal zero).
public SELF
isNotZero()

Implements org.assertj.core.api.NumberAssert.isNotZero.

Verifies that the actual value is not equal to zero.
public SELF
isOne()

Implements org.assertj.core.api.NumberAssert.isOne.

Verifies that the actual value is equal to one.
public SELF
isPositive()

Implements org.assertj.core.api.NumberAssert.isPositive.

Verifies that the actual value is positive.
public SELF
isStrictlyBetween(Long
the start value (exclusive), expected not to be null.
start
,
Long
the end value (exclusive), expected not to be null.
end
)

Implements org.assertj.core.api.NumberAssert.isStrictlyBetween, org.assertj.core.api.ComparableAssert.isStrictlyBetween.

Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).
public SELF
isZero()

Implements org.assertj.core.api.NumberAssert.isZero.

Verifies that the actual value is equal to zero.
public SELF
usingComparator(Comparator<? super LongAdder>
the comparator to use for the incoming assertion checks.
customComparator
)

Overrides org.assertj.core.api.AbstractAssert.usingComparator.

Implements org.assertj.core.api.Assert.usingComparator.

Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
public SELF
usingComparator(Comparator<? super LongAdder>
the comparator to use for the incoming assertion checks.
customComparator
,
String
comparator description to be used in assertion error messages
customComparatorDescription
)

Overrides org.assertj.core.api.AbstractAssert.usingComparator.

Implements org.assertj.core.api.Assert.usingComparator.

Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.
public SELF
usingDefaultComparator()

Overrides org.assertj.core.api.AbstractAssert.usingDefaultComparator.

Implements org.assertj.core.api.Assert.usingDefaultComparator.

Revert to standard comparison for the incoming assertion checks.
Inherited from org.assertj.core.api.AbstractAssert:
areEqualasInstanceOfasListassertionErrorasStringdescribedAsdescriptionTextdoesNotHavedoesNotHaveSameClassAsdoesNotHaveSameHashCodeAsdoesNotHaveToStringdoesNotHaveToStringequalsextractingextractingfailurefailureWithActualExpectedfailWithActualExpectedAndMessagefailWithMessagegetWritableAssertionInfohashashCodehasSameClassAshasSameHashCodeAshasToStringhasToStringinBinaryinHexadecimalisisElementOfCustomAssertisEqualToisExactlyInstanceOfisInisInisInstanceOfisInstanceOfAnyisInstanceOfSatisfyingisNotisNotEqualToisNotExactlyInstanceOfisNotInisNotInisNotInstanceOfisNotInstanceOfAnyisNotNullisNotOfAnyClassInisNotSameAsisNullisOfAnyClassInisSameAsmatchesmatchesnewListAssertInstanceoverridingErrorMessageoverridingErrorMessagesatisfiessatisfiessatisfiessatisfiesAnyOfsatisfiesAnyOfsatisfiesAnyOfForProxysatisfiesForProxysetCustomRepresentationsetDescriptionConsumersetPrintAssertionsDescriptionthrowAssertionErrorusingRecursiveAssertionusingRecursiveAssertionusingRecursiveComparisonusingRecursiveComparisonwithAssertionStatewithFailMessagewithFailMessagewithRepresentationwithThreadDumpOnError

Field Detail

longsback to summary
pack-priv Longs longs
Annotations
@VisibleForTesting

Constructor Detail

AbstractLongAdderAssertback to summary
protected AbstractLongAdderAssert(LongAdder longAdder, Class<?> selfType)

Method Detail

doesNotHaveValueback to summary
public SELF doesNotHaveValue(long unexpected)

Verifies that the actual sum has not the given value.

Example:

 // assertion will pass
LongAdder actual = new LongAdder();
actual.add(42);
assertThat(actual).doesNotHaveValue(0);

// assertion will fail
assertThat(actual).doesNotHaveValue(42);
Parameters
unexpected:long

the unexpected value.

Returns:SELF

this assertion object.

Exceptions
AssertionError:
  • if the actual adder is null.
  • if the actual sum is not the given value.
hasValueback to summary
public SELF hasValue(long expected)

Verifies that the actual sum has the given value.

Example:

 // assertion will pass
LongAdder actual = new LongAdder();
actual.add(42);
assertThat(actual).hasValue(42);

// assertion will fail
assertThat(actual).hasValue(0);
Parameters
expected:long

the expected value.

Returns:SELF

this assertion object.

Exceptions
AssertionError:
if the actual adder is null.
isBetweenback to summary
public SELF isBetween(Long start, Long end)

Implements org.assertj.core.api.NumberAssert.isBetween, org.assertj.core.api.ComparableAssert.isBetween.

Doc from org.assertj.core.api.NumberAssert.isBetween.

Verifies that the actual value is in [start, end] range (start included, end included).

Example:

 // these assertions succeed ...
assertThat(12).isBetween(10, 14);
assertThat(12).isBetween(12, 14);
assertThat(12).isBetween(10, 12);

// ... but this one fails
assertThat(12).isBetween(14, 16);
Parameters
start:Long

the start value (inclusive), expected not to be null.

end:Long

the end value (inclusive), expected not to be null.

Returns:SELF

this assertion object.

Annotations
@Override
isCloseToback to summary
public SELF isCloseTo(Long expected, Offset<Long> offset)

Implements org.assertj.core.api.NumberAssert.isCloseTo.

Doc from org.assertj.core.api.NumberAssert.isCloseTo.

Verifies that the actual number is close to the given one within the given offset.
If difference is equal to offset value, assertion is considered valid.

Example with double:

 // assertions will pass:
assertThat(8.1).isCloseTo(8.0, within(0.2));

// you can use offset if you prefer
assertThat(8.1).isCloseTo(8.0, offset(0.2));

// if difference is exactly equals to the offset (0.1), it's ok
assertThat(8.1).isCloseTo(8.0, within(0.1));

// assertion will fail
assertThat(8.1).isCloseTo(8.0, within(0.01));
Parameters
expected:Long

the given number to compare the actual value to.

offset:Offset<Long>

the given positive offset.

Returns:SELF

this assertion object.

Annotations
@Override
isCloseToback to summary
public SELF isCloseTo(Long expected, Percentage percentage)

Implements org.assertj.core.api.NumberAssert.isCloseTo.

Doc from org.assertj.core.api.NumberAssert.isCloseTo.

Verifies that the actual number is close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid.

Example with double:

 // assertions will pass:
assertThat(11.0).isCloseTo(10.0, withinPercentage(20));

// if difference is exactly equals to the computed offset (1.0), it's ok
assertThat(11.0).isCloseTo(10.0, withinPercentage(10));

// assertion will fail
assertThat(11.0).isCloseTo(10.0, withinPercentage(5));
Parameters
expected:Long

the given number to compare the actual value to.

percentage:Percentage

the given positive percentage.

Returns:SELF

this assertion object.

Annotations
@Override
isEqualByComparingToback to summary
public SELF isEqualByComparingTo(Long other)

Implements org.assertj.core.api.ComparableAssert.isEqualByComparingTo.

Doc from org.assertj.core.api.ComparableAssert.isEqualByComparingTo.

Verifies that the actual value is equal to the given one by invoking Comparable#compareTo(Object).

Example:

 // assertion will pass
assertThat(1.0).isEqualByComparingTo(1.0);
// assertion will pass because 8.0 is equal to 8.00 using BigDecimal#compareTo(BigDecimal)
assertThat(new BigDecimal("8.0")).isEqualByComparingTo(new BigDecimal("8.00"));

// assertion will fail
assertThat(new BigDecimal(1.0)).isEqualByComparingTo(new BigDecimal(2.0));
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isGreaterThanback to summary
public SELF isGreaterThan(Long other)

Implements org.assertj.core.api.ComparableAssert.isGreaterThan.

Doc from org.assertj.core.api.ComparableAssert.isGreaterThan.

Verifies that the actual value is greater than the given one.

Example:

 // assertions will pass
assertThat('b').isGreaterThan('a');
assertThat(BigInteger.ONE).isGreaterThan(BigInteger.ZERO);

// assertions will fail
assertThat('b').isGreaterThan('a');
assertThat(BigInteger.ZERO).isGreaterThan(BigInteger.ZERO);
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isGreaterThanOrEqualToback to summary
public SELF isGreaterThanOrEqualTo(Long other)

Implements org.assertj.core.api.ComparableAssert.isGreaterThanOrEqualTo.

Doc from org.assertj.core.api.ComparableAssert.isGreaterThanOrEqualTo.

Verifies that the actual value is greater than or equal to the given one.

Example:

 // assertions will pass
assertThat('b').isGreaterThanOrEqualTo('a');
assertThat(BigInteger.ONE).isGreaterThanOrEqualTo(BigInteger.ONE);

// assertions will fail
assertThat('a').isGreaterThanOrEqualTo('b');
assertThat(BigInteger.ZERO).isGreaterThanOrEqualTo(BigInteger.ONE);
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isLessThanback to summary
public SELF isLessThan(Long other)

Implements org.assertj.core.api.ComparableAssert.isLessThan.

Doc from org.assertj.core.api.ComparableAssert.isLessThan.

Verifies that the actual value is less than the given one.

Example:

 // assertions will pass
assertThat('a').isLessThan('b');
assertThat(BigInteger.ZERO).isLessThan(BigInteger.ONE);

// assertions will fail
assertThat('a').isLessThan('a');
assertThat(BigInteger.ONE).isLessThan(BigInteger.ZERO);
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isLessThanOrEqualToback to summary
public SELF isLessThanOrEqualTo(Long other)

Implements org.assertj.core.api.ComparableAssert.isLessThanOrEqualTo.

Doc from org.assertj.core.api.ComparableAssert.isLessThanOrEqualTo.

Verifies that the actual value is less than or equal to the given one.

Example:

 // assertions will pass
assertThat('a').isLessThanOrEqualTo('b');
assertThat('a').isLessThanOrEqualTo('a');
assertThat(BigInteger.ZERO).isLessThanOrEqualTo(BigInteger.ZERO);

// assertions will fail
assertThat('b').isLessThanOrEqualTo('a');
assertThat(BigInteger.ONE).isLessThanOrEqualTo(BigInteger.ZERO);
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isNegativeback to summary
public SELF isNegative()

Implements org.assertj.core.api.NumberAssert.isNegative.

Doc from org.assertj.core.api.NumberAssert.isNegative.

Verifies that the actual value is negative.

Example:

 // assertions will pass
assertThat(-42).isNegative();
assertThat(-3.124).isNegative();

// assertions will fail
assertThat(0).isNegative();
assertThat(42).isNegative();
Returns:SELF

this assertion object.

Annotations
@Override
isNotCloseToback to summary
public SELF isNotCloseTo(Long expected, Offset<Long> offset)

Implements org.assertj.core.api.NumberAssert.isNotCloseTo.

Doc from org.assertj.core.api.NumberAssert.isNotCloseTo.

Verifies that the actual number is not close to the given one within the given offset.
If the difference is equal to the offset value, the assertion fails.

Example with double:

 // assertions will pass:
assertThat(8.1).isNotCloseTo(8.0, byLessThan(0.01));

// you can use offset if you prefer
assertThat(8.1).isNotCloseTo(8.0, offset(0.01));

// assertions will fail
assertThat(8.1).isNotCloseTo(8.0, byLessThan(0.1));
assertThat(8.1).isNotCloseTo(8.0, byLessThan(0.2));
Parameters
expected:Long

the given number to compare the actual value to.

offset:Offset<Long>

the given positive offset.

Returns:SELF

this assertion object.

Annotations
@Override
isNotCloseToback to summary
public SELF isNotCloseTo(Long expected, Percentage percentage)

Implements org.assertj.core.api.NumberAssert.isNotCloseTo.

Doc from org.assertj.core.api.NumberAssert.isNotCloseTo.

Verifies that the actual number is not close to the given one within the given percentage.
If difference is equal to the percentage value, the assertion fails.

Example with double:

 // assertions will pass:
assertThat(11.0).isNotCloseTo(10.0, withinPercentage(5));

// assertions will fail
assertThat(11.0).isNotCloseTo(10.0, withinPercentage(10));
assertThat(11.0).isNotCloseTo(10.0, withinPercentage(20));
Parameters
expected:Long

the given number to compare the actual value to.

percentage:Percentage

the given positive percentage.

Returns:SELF

this assertion object.

Annotations
@Override
isNotEqualByComparingToback to summary
public SELF isNotEqualByComparingTo(Long other)

Implements org.assertj.core.api.ComparableAssert.isNotEqualByComparingTo.

Doc from org.assertj.core.api.ComparableAssert.isNotEqualByComparingTo.

Verifies that the actual value is not equal to the given one by invoking Comparable#compareTo(Object).

Example:

 // assertion will pass
assertThat(new BigDecimal(1.0)).isNotEqualByComparingTo(new BigDecimal(2.0));

// assertion will fail
assertThat(1.0).isNotEqualByComparingTo(1.0);
// assertion will fail because 8.0 is equal to 8.00 using BigDecimal#compareTo(BigDecimal)
assertThat(new BigDecimal("8.0")).isNotEqualByComparingTo(new BigDecimal("8.00"));
Parameters
other:Long

the given value to compare the actual value to.

Returns:SELF

this assertion object.

Annotations
@Override
isNotNegativeback to summary
public SELF isNotNegative()

Implements org.assertj.core.api.NumberAssert.isNotNegative.

Doc from org.assertj.core.api.NumberAssert.isNotNegative.

Verifies that the actual value is non negative (positive or equal zero).

Example:

 // assertions will pass
assertThat(42).isNotNegative();
assertThat(0).isNotNegative();

// assertions will fail
assertThat(-42).isNotNegative();
assertThat(-3.124).isNotNegative();
Returns:SELF

this assertion object.

Annotations
@Override
isNotPositiveback to summary
public SELF isNotPositive()

Implements org.assertj.core.api.NumberAssert.isNotPositive.

Doc from org.assertj.core.api.NumberAssert.isNotPositive.

Verifies that the actual value is non positive (negative or equal zero).

Example:

 // assertions will pass
assertThat(-42).isNotPositive();
assertThat(0).isNotPositive();

// assertions will fail
assertThat(42).isNotPositive();
assertThat(3.124).isNotPositive();
Returns:SELF

this assertion object.

Annotations
@Override
isNotZeroback to summary
public SELF isNotZero()

Implements org.assertj.core.api.NumberAssert.isNotZero.

Doc from org.assertj.core.api.NumberAssert.isNotZero.

Verifies that the actual value is not equal to zero.

Example:

 // assertions will pass
assertThat(42).isNotZero();
assertThat(3.142).isNotZero();

// assertions will fail
assertThat(0).isNotZero();
assertThat(0.0).isNotZero();
Returns:SELF

this assertion object.

Annotations
@Override
isOneback to summary
public SELF isOne()

Implements org.assertj.core.api.NumberAssert.isOne.

Doc from org.assertj.core.api.NumberAssert.isOne.

Verifies that the actual value is equal to one.

Example:

 // assertions will pass
assertThat(1).isOne();
assertThat(1.0).isOne();

// assertions will fail
assertThat(42).isOne();
assertThat(3.142).isOne();
Returns:SELF

this assertion object.

Annotations
@Override
isPositiveback to summary
public SELF isPositive()

Implements org.assertj.core.api.NumberAssert.isPositive.

Doc from org.assertj.core.api.NumberAssert.isPositive.

Verifies that the actual value is positive.

Example:

 // assertions will pass
assertThat(42).isPositive();
assertThat(3.142).isPositive();

// assertions will fail
assertThat(0).isPositive();
assertThat(-42).isPositive();
Returns:SELF

this assertion object.

Annotations
@Override
isStrictlyBetweenback to summary
public SELF isStrictlyBetween(Long start, Long end)

Implements org.assertj.core.api.NumberAssert.isStrictlyBetween, org.assertj.core.api.ComparableAssert.isStrictlyBetween.

Doc from org.assertj.core.api.NumberAssert.isStrictlyBetween.

Verifies that the actual value is in ]start, end[ range (start excluded, end excluded).

Example:

 // this assertion succeeds ...
assertThat(12).isStrictlyBetween(10, 14);

// ... but these ones fail
assertThat(12).isStrictlyBetween(12, 14);
assertThat(12).isStrictlyBetween(10, 12);
assertThat(12).isStrictlyBetween(16, 18);
Parameters
start:Long

the start value (exclusive), expected not to be null.

end:Long

the end value (exclusive), expected not to be null.

Returns:SELF

this assertion object.

Annotations
@Override
isZeroback to summary
public SELF isZero()

Implements org.assertj.core.api.NumberAssert.isZero.

Doc from org.assertj.core.api.NumberAssert.isZero.

Verifies that the actual value is equal to zero.

Example:

 // assertions will pass
assertThat(0).isZero();
assertThat(0.0).isZero();

// assertions will fail
assertThat(42).isZero();
assertThat(3.142).isZero();
Returns:SELF

this assertion object.

Annotations
@Override
usingComparatorback to summary
public SELF usingComparator(Comparator<? super LongAdder> customComparator)

Overrides org.assertj.core.api.AbstractAssert.usingComparator.

Implements org.assertj.core.api.Assert.usingComparator.

Doc from org.assertj.core.api.AbstractAssert.usingComparator.

Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.

The custom comparator is bound to assertion instance, meaning that if a new assertion instance is created, the default comparison strategy will be used.

Examples :

 // frodo and sam are instances of Character with Hobbit race (obviously :).
// raceComparator implements Comparator<Character>
assertThat(frodo).usingComparator(raceComparator).isEqualTo(sam);
Parameters
customComparator:Comparator<? super LongAdder>

Doc from org.assertj.core.api.Assert.usingComparator.

the comparator to use for the incoming assertion checks.

Returns:SELF

Doc from org.assertj.core.api.Assert.usingComparator.

this assertion object.

Annotations
@Override
@CheckReturnValue
usingComparatorback to summary
public SELF usingComparator(Comparator<? super LongAdder> customComparator, String customComparatorDescription)

Overrides org.assertj.core.api.AbstractAssert.usingComparator.

Implements org.assertj.core.api.Assert.usingComparator.

Doc from org.assertj.core.api.AbstractAssert.usingComparator.

Use the given custom comparator instead of relying on actual type A equals method for incoming assertion checks.

The custom comparator is bound to assertion instance, meaning that if a new assertion instance is created, the default comparison strategy will be used.

Examples :

 // frodo and sam are instances of Character with Hobbit race (obviously :).
// raceComparator implements Comparator<Character>
assertThat(frodo).usingComparator(raceComparator, "Hobbit Race Comparator").isEqualTo(sam);
Parameters
customComparator:Comparator<? super LongAdder>

Doc from org.assertj.core.api.Assert.usingComparator.

the comparator to use for the incoming assertion checks.

customComparatorDescription:String

Doc from org.assertj.core.api.Assert.usingComparator.

comparator description to be used in assertion error messages

Returns:SELF

Doc from org.assertj.core.api.Assert.usingComparator.

this assertion object.

Annotations
@Override
@CheckReturnValue
usingDefaultComparatorback to summary
public SELF usingDefaultComparator()

Overrides org.assertj.core.api.AbstractAssert.usingDefaultComparator.

Implements org.assertj.core.api.Assert.usingDefaultComparator.

Doc from org.assertj.core.api.AbstractAssert.usingDefaultComparator.

Revert to standard comparison for the incoming assertion checks.

This method should be used to disable a custom comparison strategy set by calling usingComparator.

Returns:SELF

Doc from org.assertj.core.api.Assert.usingDefaultComparator.

this assertion object.

Annotations
@Override
@CheckReturnValue