Package org.assertj.core.api
Class AbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,VALUE,ATOMIC,OBJECT>,VALUE,ATOMIC,OBJECT>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
-
- org.assertj.core.api.AbstractObjectAssert<SELF,ATOMIC>
-
- org.assertj.core.api.AbstractAtomicFieldUpdaterAssert<SELF,VALUE,ATOMIC,OBJECT>
-
- Type Parameters:
SELF
- the "self" type of this assertion class.VALUE
- the type of the "actual" value.ATOMIC
- the type of the "actual" atomic.OBJECT
- the type of the object holding the updatable field.
- All Implemented Interfaces:
Assert<SELF,ATOMIC>
,Descriptable<SELF>
,ExtensionPoints<SELF,ATOMIC>
- Direct Known Subclasses:
AtomicIntegerFieldUpdaterAssert
,AtomicLongFieldUpdaterAssert
,AtomicReferenceFieldUpdaterAssert
public abstract class AbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,VALUE,ATOMIC,OBJECT>,VALUE,ATOMIC,OBJECT> extends AbstractObjectAssert<SELF,ATOMIC>
Base class for all fieldupdater assertions.- Since:
- 2.7.0 / 3.7.0
- Author:
- epeee
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
expectedNullAllowed
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description AbstractAtomicFieldUpdaterAssert(ATOMIC actual, Class<?> selfType, boolean expectedNullAllowed)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private void
checkNotNull(VALUE expectedValue)
protected abstract VALUE
getActualValue(OBJECT obj)
SELF
hasValue(VALUE expectedValue, OBJECT obj)
protected void
validate(VALUE expectedValue)
-
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, extracting, extracting, extracting, extracting, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withComparatorByPropertyOrField, withTypeComparator
-
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-