Uses of Class
org.assertj.core.api.AbstractAssert
Packages that use AbstractAssert
-
Uses of AbstractAssert in org.assertj.core.api
Classes in org.assertj.core.api with type parameters of type AbstractAssertModifier and TypeClassDescriptionclassAbstractAssert<SELF extends AbstractAssert<SELF,ACTUAL>, ACTUAL> Base class for all assertions.classAbstractCollectionAssert<SELF extends AbstractCollectionAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Collection<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for all implementations of assertions forCollections.classAbstractIterableAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for implementations ofwhose actual value type isObjectEnumerableAssert.CollectionclassAbstractIterableSizeAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> classAbstractListAssert<SELF extends AbstractListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for all implementations of assertions forLists.classClassBasedNavigableIterableAssert<SELF extends ClassBasedNavigableIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Deprecated.classClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Deprecated.UseFactoryBasedNavigableListAssertinstead.classFactoryBasedNavigableIterableAssert<SELF extends FactoryBasedNavigableIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.classFactoryBasedNavigableListAssert<SELF extends FactoryBasedNavigableListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.classInstanceOfAssertFactory<T,ASSERT extends AbstractAssert<?, ?>> AssertFactorydecorator that casts the input value to the given type before invoking the decorated factory.Subclasses of AbstractAssert in org.assertj.core.apiModifier and TypeClassDescriptionclassAbstract2DArrayAssert<SELF extends Abstract2DArrayAssert<SELF,ACTUAL, ELEMENT>, ACTUAL, ELEMENT> Base class for all two-dimensional array assertions.classAbstractArrayAssert<SELF extends AbstractArrayAssert<SELF,ACTUAL, ELEMENT>, ACTUAL, ELEMENT> Base class for all array assertions.classAbstractAtomicFieldUpdaterAssert<SELF extends AbstractAtomicFieldUpdaterAssert<SELF,VALUE, ATOMIC, OBJECT>, VALUE, ATOMIC, OBJECT> Base class for all fieldupdater assertions.classAbstractAtomicReferenceAssert<SELF extends AbstractAtomicReferenceAssert<SELF,VALUE, ATOMIC>, VALUE, ATOMIC> Base class for atomic assertions.classAbstractBigDecimalAssert<SELF extends AbstractBigDecimalAssert<SELF>>Base class for all implementations of assertions forBigDecimals.classAbstractBigDecimalScaleAssert<SELF extends AbstractBigDecimalAssert<SELF>>Base class for BigDecimal scale assertions.classAbstractBigIntegerAssert<SELF extends AbstractBigIntegerAssert<SELF>>Base class for all implementations of assertions forBigIntegers.classAbstractBooleanArrayAssert<SELF extends AbstractBooleanArrayAssert<SELF>>classAbstractBooleanAssert<SELF extends AbstractBooleanAssert<SELF>>Base class for all implementations of assertions forBooleans.classAbstractByteArrayAssert<SELF extends AbstractByteArrayAssert<SELF>>classAbstractByteAssert<SELF extends AbstractByteAssert<SELF>>Base class for all implementations of assertions forBytes.classAbstractCharacterAssert<SELF extends AbstractCharacterAssert<SELF>>Base class for all implementations of assertions forCharacters.classAbstractCharArrayAssert<SELF extends AbstractCharArrayAssert<SELF>>classAbstractCharSequenceAssert<SELF extends AbstractCharSequenceAssert<SELF,ACTUAL>, ACTUAL extends CharSequence> Base class for all implementations of assertions forCharSequences.classAbstractClassAssert<SELF extends AbstractClassAssert<SELF>>Base class for all implementations of assertions forClasses.classAbstractCollectionAssert<SELF extends AbstractCollectionAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Collection<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for all implementations of assertions forCollections.classAbstractComparableAssert<SELF extends AbstractComparableAssert<SELF,ACTUAL>, ACTUAL extends Comparable<? super ACTUAL>> Base class for all implementations of.ComparableAssertclassAbstractCompletableFutureAssert<SELF extends AbstractCompletableFutureAssert<SELF,RESULT>, RESULT> Assertions forCompletableFuture.classAbstractDateAssert<SELF extends AbstractDateAssert<SELF>>Base class for all implementations of assertions forDates.classAbstractDoubleArrayAssert<SELF extends AbstractDoubleArrayAssert<SELF>>classAbstractDoubleAssert<SELF extends AbstractDoubleAssert<SELF>>Base class for all implementations of assertions forDoubles.classAbstractDurationAssert<SELF extends AbstractDurationAssert<SELF>>Assertions forDurationtype.classAbstractEnumerableAssert<SELF extends AbstractEnumerableAssert<SELF,ACTUAL, ELEMENT>, ACTUAL, ELEMENT> Base implementation for Enumerable class assertions.classAbstractFileAssert<SELF extends AbstractFileAssert<SELF>>Base class for all implementations of assertions forFiles.classAbstractFileSizeAssert<SELF extends AbstractFileAssert<SELF>>Base class for file size assertions.classAbstractFloatArrayAssert<SELF extends AbstractFloatArrayAssert<SELF>>classAbstractFloatAssert<SELF extends AbstractFloatAssert<SELF>>Base class for all implementations of assertions forFloats.classAbstractFutureAssert<SELF extends AbstractFutureAssert<SELF,ACTUAL, RESULT>, ACTUAL extends Future<RESULT>, RESULT> classAbstractInputStreamAssert<SELF extends AbstractInputStreamAssert<SELF,ACTUAL>, ACTUAL extends InputStream> Base class for all implementations of assertions forInputStreams.classAbstractInstantAssert<SELF extends AbstractInstantAssert<SELF>>Assertions forInstanttype from new Date & Time API introduced in Java 8.classAbstractIntArrayAssert<SELF extends AbstractIntArrayAssert<SELF>>classAbstractIntegerAssert<SELF extends AbstractIntegerAssert<SELF>>Base class for all implementations of assertions forIntegers.classAbstractIterableAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for implementations ofwhose actual value type isObjectEnumerableAssert.CollectionclassAbstractIterableSizeAssert<SELF extends AbstractIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> classAbstractIteratorAssert<SELF extends AbstractIteratorAssert<SELF,ELEMENT>, ELEMENT> Base class for all implementations of assertions forIterators.classAbstractListAssert<SELF extends AbstractListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Base class for all implementations of assertions forLists.classAbstractLocalDateAssert<SELF extends AbstractLocalDateAssert<SELF>>Assertions forLocalDatetype from new Date & Time API introduced in Java 8.classAbstractLocalDateTimeAssert<SELF extends AbstractLocalDateTimeAssert<SELF>>Assertions forLocalDateTimetype from new Date & Time API introduced in Java 8.classAbstractLocalTimeAssert<SELF extends AbstractLocalTimeAssert<SELF>>Assertions forLocalTimetype from new Date & Time API introduced in Java 8.classAbstractLongAdderAssert<SELF extends AbstractLongAdderAssert<SELF>>Base class for all implementations of assertions forLongAdders.classAbstractLongArrayAssert<SELF extends AbstractLongArrayAssert<SELF>>classAbstractLongAssert<SELF extends AbstractLongAssert<SELF>>Base class for all implementations of assertions forLongs.classAbstractMapAssert<SELF extends AbstractMapAssert<SELF,ACTUAL, K, V>, ACTUAL extends Map<K, V>, K, V> Base class for all implementations of assertions forMaps.classAbstractMapSizeAssert<SELF extends AbstractMapAssert<SELF,A, KEY, VALUE>, A extends Map<KEY, VALUE>, KEY, VALUE> classAbstractMatcherAssert<SELF extends AbstractMatcherAssert<SELF>>Assertions forMatcherclassAbstractObjectArrayAssert<SELF extends AbstractObjectArrayAssert<SELF,ELEMENT>, ELEMENT> Assertion methods for arrays of objects.classAbstractObjectAssert<SELF extends AbstractObjectAssert<SELF,ACTUAL>, ACTUAL> Base class for all implementations of assertions forObjects.classAbstractOffsetDateTimeAssert<SELF extends AbstractOffsetDateTimeAssert<SELF>>Assertions forOffsetDateTimetype from new Date & Time API introduced in Java 8.classAbstractOffsetTimeAssert<SELF extends AbstractOffsetTimeAssert<SELF>>Assertions forOffsetTimetype from new Date & Time API introduced in Java 8.classAbstractOptionalAssert<SELF extends AbstractOptionalAssert<SELF,VALUE>, VALUE> Assertions forOptional.classAbstractOptionalDoubleAssert<SELF extends AbstractOptionalDoubleAssert<SELF>>Assertions forOptionalDouble.classAbstractOptionalIntAssert<SELF extends AbstractOptionalIntAssert<SELF>>Assertions forOptionalInt.classAbstractOptionalLongAssert<SELF extends AbstractOptionalLongAssert<SELF>>Assertions forOptionalLong.classAbstractPathAssert<SELF extends AbstractPathAssert<SELF>>Assertions forPathobjectsclassAbstractPeriodAssert<SELF extends AbstractPeriodAssert<SELF>>Assertions forPeriodtype.classAbstractPredicateAssert<SELF extends AbstractPredicateAssert<SELF,T>, T> Assertions forPredicate.classAbstractShortArrayAssert<SELF extends AbstractShortArrayAssert<SELF>>classAbstractShortAssert<SELF extends AbstractShortAssert<SELF>>Base class for all implementations of assertions forShorts.classAbstractSpliteratorAssert<SELF extends AbstractSpliteratorAssert<SELF,ELEMENT>, ELEMENT> Assertions forSpliteratortype.classAbstractStringAssert<SELF extends AbstractStringAssert<SELF>>classAbstractTemporalAssert<SELF extends AbstractTemporalAssert<SELF,TEMPORAL>, TEMPORAL extends Temporal> Base class for all implementations of assertions forTemporals.classAbstractThrowableAssert<SELF extends AbstractThrowableAssert<SELF,ACTUAL>, ACTUAL extends Throwable> Base class for all implementations of assertions forThrowables.classAbstractUniversalComparableAssert<SELF extends AbstractUniversalComparableAssert<SELF,T>, T> Base class forComparableassertions.classAbstractUriAssert<SELF extends AbstractUriAssert<SELF>>Base class for all implementations of assertions forURIs.classAbstractUrlAssert<SELF extends AbstractUrlAssert<SELF>>Base class for all implementations of assertions forURLs.classAbstractYearMonthAssert<SELF extends AbstractYearMonthAssert<SELF>>Base class for all implementations of assertions forYearMonthtype from new Date & Time API introduced in Java 8.classAbstractZonedDateTimeAssert<SELF extends AbstractZonedDateTimeAssert<SELF>>classclassclassclassAtomicIntegerFieldUpdaterAssert<OBJECT>Assertion methods forAtomicIntegerFieldUpdaters.classclassclassAtomicLongFieldUpdaterAssert<OBJECT>Assertion methods forAtomicLongFieldUpdaters.classAssertion methods forAtomicMarkableReferences.classclassclassAtomicReferenceFieldUpdaterAssert<FIELD,OBJECT> Assertion methods forAtomicReferenceFieldUpdaters.classAtomicStampedReferenceAssert<VALUE>Assertion methods forAtomicStampedReferences.classAssertion methods forBigDecimals.classclassAssertion methods forBigIntegers.classAssertion methods for two-dimensional arrays ofbooleans.classAssertion methods for arrays ofbooleans.classAssertion methods forBooleans.classAssertion methods for two-dimensional arrays ofbytes.classAssertion methods for arrays ofbytes.classAssertion methods forBytes.classAssertion methods for two-dimensional arrays ofchars.classAssertion methods forCharacters.classAssertion methods for arrays ofchars.classAssertion methods forCharSequences.classAssertion methods forClasses.classClassBasedNavigableIterableAssert<SELF extends ClassBasedNavigableIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Deprecated.UseFactoryBasedNavigableIterableAssertinstead.classClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Deprecated.UseFactoryBasedNavigableListAssertinstead.classCollectionAssert<ELEMENT>Assertion methods forCollections.classCompletableFutureAssert<RESULT>Assertions forCompletableFuture.classAssertions forDates.classAssertion methods for two-dimensional arrays ofdoubles.classAssertion methods for arrays ofdoubles.classAssertion methods forDoubles.classAssertions forPredicate.classAssertion methods forDurationclassFactoryBasedNavigableIterableAssert<SELF extends FactoryBasedNavigableIterableAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends Iterable<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.classFactoryBasedNavigableListAssert<SELF extends FactoryBasedNavigableListAssert<SELF,ACTUAL, ELEMENT, ELEMENT_ASSERT>, ACTUAL extends List<? extends ELEMENT>, ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily.classAssertion methods forFiles.classclassReusable assertions for two-dimensional arrays offloats.classAssertion methods for arrays offloats.classAssertion methods for floats.classFutureAssert<RESULT>Assertion methods forFuture.classGenericComparableAssert<ACTUAL extends Comparable<? super ACTUAL>>Concrete genericto be used throughComparableAssertAssertions.assertThat(java.lang.Comparable).classAssertion methods forInputStreams.classAssertion methods forInstants.classAssertion methods for two-dimensional arrays ofints.classAssertion methods for arrays ofints.classAssertion methods forIntegers.classAssertions forPredicate.classIterableAssert<ELEMENT>Assertion methods forIterable.classclassIteratorAssert<ELEMENT>Assertion methods forIterator.classListAssert<ELEMENT>Assertion methods forLists.classclassclassclassAssertion methods for two-dimensional arrays oflongs.classAssertions forLongAdder.classAssertion methods for arrays oflongs.classAssertion methods forLongs.classAssertions forLongPredicate.classMapAssert<KEY,VALUE> Assertions forMaps.classMapSizeAssert<KEY,VALUE> classAssertions forMatcher.classObject2DArrayAssert<ELEMENT>Assertion methods for two-dimensional arrays of objects.classObjectArrayAssert<ELEMENT>Assertion methods for arrays of objects.classObjectAssert<ACTUAL>Assertion methods forObjects.classclassclassOptionalAssert<VALUE>Assertions forOptional.classAssertions forOptionalDouble.classAssertions forOptionalInt.classAssertions forOptionalLong.classAssertion class forPathsclassAssertion methods forPeriodclassAssertions forPredicate.classAn assertion that supports asserting aPredicateover all the fields of an object graph.classRecursiveComparisonAssert<SELF extends RecursiveComparisonAssert<SELF>>classAssertion methods for arrays ofshorts.classAssertion methods for arrays ofshorts.classAssertion methods forShorts.classSoftThrowableAssertAlternative<ACTUAL extends Throwable>ThrowableAssertAlternativesubclass used in soft assertions.classSpliteratorAssert<ELEMENT>Assertion methods forSpliterators.classAssertion methods forStrings.classclassThrowableAssert<ACTUAL extends Throwable>Assertion methods forThrowables.classThrowableAssertAlternative<ACTUAL extends Throwable>Assertion methods forThrowablesimilar toThrowableAssertbut with assertions methods named differently to make testing code fluent (ex :withMessageinstead ofhasMessage.classComparableassertions.classAssertion class forURIsclassAssertion class forURLsclassAssertions forYearMonthtype from new Date & Time API introduced in Java 8.classAssertions forZonedDateTimetype from new Date & Time API introduced in Java 8.Fields in org.assertj.core.api declared as AbstractAssertMethods in org.assertj.core.api with type parameters of type AbstractAssertModifier and TypeMethodDescriptionstatic <T,ASSERT extends AbstractAssert<?, ?>>
InstanceOfAssertFactory<T, ASSERT> Assertions.as(InstanceOfAssertFactory<T, ASSERT> assertFactory) A syntax sugar to write fluent assertion with methods having anInstanceOfAssertFactoryparameter.static <T,ASSERT extends AbstractAssert<?, ?>>
InstanceOfAssertFactory<T, ASSERT> BDDAssertions.as(InstanceOfAssertFactory<T, ASSERT> assertFactory) A syntax sugar to write fluent assertion with methods having anInstanceOfAssertFactoryparameter.default <T,ASSERT extends AbstractAssert<?, ?>>
InstanceOfAssertFactory<T, ASSERT> WithAssertions.as(InstanceOfAssertFactory<T, ASSERT> assertFactory) A syntax sugar to write fluent assertion with methods having anInstanceOfAssertFactoryparameter.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractAssert.asInstanceOf(InstanceOfAssertFactory<?, ASSERT> instanceOfAssertFactory) Uses anInstanceOfAssertFactoryto verify that the actual value is an instance of a given type and to produce a newAssertnarrowed to that type.<ASSERT extends AbstractAssert<?,?>>
ASSERTAssert.asInstanceOf(InstanceOfAssertFactory<?, ASSERT> instanceOfAssertFactory) Uses anInstanceOfAssertFactoryto verify that the actual value is an instance of a given type and to produce a newAssertnarrowed to that type.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat(ACTUAL actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat(List<? extends ELEMENT> actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Assertions.assertThat(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat(ACTUAL actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat(List<? extends ELEMENT> actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> AssertionsForInterfaceTypes.assertThat(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> ClassBasedNavigableIterableAssert.assertThat(ACTUAL actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> ClassBasedNavigableListAssert.assertThat(List<? extends ELEMENT> actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableIterableAssert.assertThat(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> FactoryBasedNavigableListAssert.assertThat(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat(ACTUAL actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat(List<? extends ELEMENT> actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6Assertions.assertThat(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.default <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat(ACTUAL actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.default <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.default <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat(List<? extends ELEMENT> actual, Class<ELEMENT_ASSERT> assertClass) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.default <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> WithAssertions.assertThat(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractIterableAssert.element(int index, InstanceOfAssertFactory<?, ASSERT> assertFactory) Navigate and allow to perform assertions on the chosen element of theIterableunder test.protected <ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractAssert.extracting(String propertyOrField, AssertFactory<Object, ASSERT> assertFactory) Extracts the value of given field/property from the object under test and creates a new assertion object using the given assert factory.protected <T,ASSERT extends AbstractAssert<?, ?>>
ASSERTAbstractAssert.extracting(Function<? super ACTUAL, ? extends T> extractor, AssertFactory<T, ASSERT> assertFactory) Uses the givenFunctionto extract a value from the object under test and creates a new assertion object using the given assert factory.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractObjectAssert.extracting(String propertyOrField, InstanceOfAssertFactory<?, ASSERT> assertFactory) Extracts the value of given field/property from the object under test, the extracted value becoming the new object under test.<T,ASSERT extends AbstractAssert<?, ?>>
ASSERTAbstractObjectAssert.extracting(Function<? super ACTUAL, T> extractor, InstanceOfAssertFactory<?, ASSERT> assertFactory) Uses the givenFunctionto extract a value from the object under test, the extracted value becoming the new object under test.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractMapAssert.extractingByKey(K key, InstanceOfAssertFactory<?, ASSERT> assertFactory) Extract the value of given key from the map under test, the extracted value becoming the new object under test.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractIterableAssert.first(InstanceOfAssertFactory<?, ASSERT> assertFactory) Navigate and allow to perform assertions on the first element of theIterableunder test.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractOptionalAssert.get(InstanceOfAssertFactory<?, ASSERT> assertFactory) Verifies that the actualOptionalis notnulland not empty and returns an new assertion instance to chain assertions on the optional value.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractIterableAssert.last(InstanceOfAssertFactory<?, ASSERT> assertFactory) Navigate and allow to perform assertions on the last element of theIterableunder test.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractIterableAssert.singleElement(InstanceOfAssertFactory<?, ASSERT> assertFactory) Verifies that theIterableunder test contains a single element and allows to perform assertions on that element, the assertions are strongly typed according to the givenAssertFactoryparameter.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractObjectArrayAssert.singleElement(InstanceOfAssertFactory<?, ASSERT> assertFactory) Verifies that the array under test contains a single element and allows to perform assertions on that element, the assertions are strongly typed according to the givenAssertFactoryparameter.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractCompletableFutureAssert.succeedsWithin(long timeout, TimeUnit unit, InstanceOfAssertFactory<RESULT, ASSERT> assertFactory) Waits if necessary for at most the given time for this future to complete, theInstanceOfAssertFactoryparameter is used to return assertions specific to the future's result type.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractCompletableFutureAssert.succeedsWithin(Duration timeout, InstanceOfAssertFactory<RESULT, ASSERT> assertFactory) Waits if necessary for at most the given time for this future to complete, theInstanceOfAssertFactoryparameter is used to return assertions specific to the future's result type.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractFutureAssert.succeedsWithin(long timeout, TimeUnit unit, InstanceOfAssertFactory<RESULT, ASSERT> assertFactory) Waits if necessary for at most the given time for this future to complete, theInstanceOfAssertFactoryparameter is used to return assertions specific to the future's result type.<ASSERT extends AbstractAssert<?,?>>
ASSERTAbstractFutureAssert.succeedsWithin(Duration timeout, InstanceOfAssertFactory<RESULT, ASSERT> assertFactory) Waits if necessary for at most the given time for this future to complete, theInstanceOfAssertFactoryparameter is used to return assertions specific to the future's result type.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> BDDAssertions.then(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> BDDAssertions.then(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6BDDAssertions.then(Iterable<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anIterableinstance.static <ELEMENT,ACTUAL extends List<? extends ELEMENT>, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.static <ACTUAL extends List<? extends ELEMENT>,ELEMENT, ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>>
FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> Java6BDDAssertions.then(List<? extends ELEMENT> actual, AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) Deprecated.This was added to help creating type-specific assertions for the elements of anListinstance.Methods in org.assertj.core.api that return AbstractAssertModifier and TypeMethodDescriptionstatic AbstractAssert<?, ?> ProxifyMethodChangingTheObjectUnderTest.intercept(ProxifyMethodChangingTheObjectUnderTest dispatcher, Callable<AbstractAssert<?, ?>> assertionMethod, AbstractAssert<?, ?> currentAssertInstance) Methods in org.assertj.core.api with parameters of type AbstractAssertModifier and TypeMethodDescriptionstatic AbstractAssert<?, ?> ProxifyMethodChangingTheObjectUnderTest.intercept(ProxifyMethodChangingTheObjectUnderTest dispatcher, Callable<AbstractAssert<?, ?>> assertionMethod, AbstractAssert<?, ?> currentAssertInstance) Method parameters in org.assertj.core.api with type arguments of type AbstractAssertModifier and TypeMethodDescriptionstatic AbstractAssert<?, ?> ProxifyMethodChangingTheObjectUnderTest.intercept(ProxifyMethodChangingTheObjectUnderTest dispatcher, Callable<AbstractAssert<?, ?>> assertionMethod, AbstractAssert<?, ?> currentAssertInstance)
FactoryBasedNavigableIterableAssertinstead.