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
  • Constructor Details

    • AbstractAtomicFieldUpdaterAssert

      protected AbstractAtomicFieldUpdaterAssert(ATOMIC actual, Class<?> selfType, boolean expectedNullAllowed)
  • Method Details

    • hasValue

      public SELF hasValue(VALUE expectedValue, OBJECT obj)
    • getActualValue

      protected abstract VALUE getActualValue(OBJECT obj)
    • validate

      protected void validate(VALUE expectedValue)