Uses of Class
org.assertj.core.api.AbstractObjectAssert
-
Uses of AbstractObjectAssert in org.assertj.core.api
Modifier and TypeClassDescriptionclass
AbstractObjectAssert<SELF extends AbstractObjectAssert<SELF,
ACTUAL>, ACTUAL> Base class for all implementations of assertions forObject
s.Modifier and TypeClassDescriptionclass
AbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,
VALUE, ATOMIC, OBJECT>, VALUE, ATOMIC, OBJECT> Base class for all fieldupdater assertions.class
AbstractAtomicReferenceAssert<SELF extends AbstractAtomicReferenceAssert<SELF,
VALUE, ATOMIC>, VALUE, ATOMIC> Base class for atomic assertions.class
AbstractBigDecimalAssert<SELF extends AbstractBigDecimalAssert<SELF>>
Base class for all implementations of assertions forBigDecimal
s.class
AbstractBigDecimalScaleAssert<SELF extends AbstractBigDecimalAssert<SELF>>
Base class for BigDecimal scale assertions.class
AbstractBigIntegerAssert<SELF extends AbstractBigIntegerAssert<SELF>>
Base class for all implementations of assertions forBigInteger
s.class
AbstractByteAssert<SELF extends AbstractByteAssert<SELF>>
Base class for all implementations of assertions forByte
s.class
AbstractCharacterAssert<SELF extends AbstractCharacterAssert<SELF>>
Base class for all implementations of assertions forCharacter
s.class
AbstractComparableAssert<SELF extends AbstractComparableAssert<SELF,
ACTUAL>, ACTUAL extends Comparable<? super ACTUAL>> Base class for all implementations of
.ComparableAssert
class
AbstractDoubleAssert<SELF extends AbstractDoubleAssert<SELF>>
Base class for all implementations of assertions forDouble
s.class
AbstractDurationAssert<SELF extends AbstractDurationAssert<SELF>>
Assertions forDuration
type.class
AbstractFileSizeAssert<SELF extends AbstractFileAssert<SELF>>
Base class for file size assertions.class
AbstractFloatAssert<SELF extends AbstractFloatAssert<SELF>>
Base class for all implementations of assertions forFloat
s.class
AbstractIntegerAssert<SELF extends AbstractIntegerAssert<SELF>>
Base class for all implementations of assertions forInteger
s.class
AbstractIterableSizeAssert<SELF extends AbstractIterableAssert<SELF,
ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> class
AbstractLongAssert<SELF extends AbstractLongAssert<SELF>>
Base class for all implementations of assertions forLong
s.class
AbstractMapAssert<SELF extends AbstractMapAssert<SELF,
ACTUAL, K, V>, ACTUAL extends Map<K, V>, K, V> Base class for all implementations of assertions forMap
s.class
AbstractMapSizeAssert<SELF extends AbstractMapAssert<SELF,
A, KEY, VALUE>, A extends Map<KEY, VALUE>, KEY, VALUE> class
AbstractPathAssert<SELF extends AbstractPathAssert<SELF>>
Assertions forPath
objectsclass
AbstractShortAssert<SELF extends AbstractShortAssert<SELF>>
Base class for all implementations of assertions forShort
s.class
AbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,
ACTUAL>, ACTUAL extends Throwable> Base class for all implementations of assertions forThrowable
s.class
AbstractUniversalComparableAssert<SELF extends AbstractUniversalComparableAssert<SELF,
T>, T> Base class forComparable
assertions.class
AbstractUriAssert<SELF extends AbstractUriAssert<SELF>>
Base class for all implementations of assertions forURI
s.class
AtomicIntegerFieldUpdaterAssert<OBJECT>
Assertion methods forAtomicIntegerFieldUpdater
s.class
AtomicLongFieldUpdaterAssert<OBJECT>
Assertion methods forAtomicLongFieldUpdater
s.class
Assertion methods forAtomicMarkableReference
s.class
AtomicReferenceFieldUpdaterAssert<FIELD,
OBJECT> Assertion methods forAtomicReferenceFieldUpdater
s.class
AtomicStampedReferenceAssert<VALUE>
Assertion methods forAtomicStampedReference
s.class
Assertion methods forBigDecimal
s.class
class
Assertion methods forBigInteger
s.class
Assertion methods forByte
s.class
Assertion methods forCharacter
s.class
Assertion methods forDouble
s.class
Assertion methods forDuration
class
class
Assertion methods for floats.class
GenericComparableAssert<ACTUAL extends Comparable<? super ACTUAL>>
Concrete generic
to be used throughComparableAssert
Assertions.assertThat(java.lang.Comparable)
.class
Assertion methods forInteger
s.class
class
Assertion methods forLong
s.class
MapAssert<KEY,
VALUE> Assertions forMap
s.class
MapSizeAssert<KEY,
VALUE> class
ObjectAssert<ACTUAL>
Assertion methods forObject
s.class
Assertion class forPath
sclass
Assertion methods forShort
s.class
SoftThrowableAssertAlternative<ACTUAL extends Throwable>
ThrowableAssertAlternative
subclass used in soft assertions.class
ThrowableAssert<ACTUAL extends Throwable>
Assertion methods forThrowable
s.class
ThrowableAssertAlternative<ACTUAL extends Throwable>
Assertion methods forThrowable
similar toThrowableAssert
but with assertions methods named differently to make testing code fluent (ex :withMessage
instead ofhasMessage
.class
Comparable
assertions.class
Assertion class forURI
sModifier and TypeMethodDescriptionstatic <T> AbstractObjectAssert
<?, T> Java6Assertions.assertThat
(T actual) Deprecated.Creates a new instance of
.ObjectAssert
<T> AbstractObjectAssert
<?, T> Java6Assertions.assertThatObject
(T actual) Deprecated.Creates a new instance of
for any object.ObjectAssert
AbstractObjectAssert
<?, ?> AbstractMapAssert.extracting
(Object key) Deprecated.AbstractObjectAssert
<?, ?> AbstractObjectAssert.extracting
(String propertyOrField) Extracts the value of given field/property from the object under test, the extracted value becoming the new object under test.<T> AbstractObjectAssert
<?, T> AbstractObjectAssert.extracting
(Function<? super ACTUAL, T> extractor) Uses the givenFunction
to extract a value from the object under test, the extracted value becoming the new object under test.AbstractMapAssert.extractingByKey
(K key) Extract the value of given key from the map under test, the extracted value becoming the new object under test.AbstractOptionalAssert.get()
Verifies that the actualOptional
is notnull
and not empty and returns an Object assertion that allows chaining (object) assertions on the optional value.protected <T> AbstractObjectAssert
<?, T> AbstractObjectAssert.newObjectAssert
(T objectUnderTest) static <T> AbstractObjectAssert
<?, T> Java6BDDAssertions.then
(T actual) Deprecated.Creates a new instance of
.ObjectAssert
static <T> AbstractObjectAssert
<?, T> Java6BDDAssertions.thenObject
(T actual) Deprecated.Creates a new instance of
for any object.ObjectAssert
AbstractMapAssert.extractingByKey(Object)
instead