| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | Array2DAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends Array2DAssertthe type of elements of the "actual" value. ELEMENT>Assertions applicable to two-dimensional arrays. |
| public interface | ArraySortedAssert<
the "self" type of this assertion class that must be a array type (e.g. arrays, collections). SELF extends ArraySortedAssertPlease read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for more details. the array element type. ELEMENT>Assertions applicable to primitive arrays or arrays of elements either naturally |
| public interface | Assert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends Assertthe type of the "actual" value. ACTUAL>Base contract of all assertion objects: the minimum functionality that any assertion object should provide. |
| public interface | AssertDelegateTarget
A marker interface that can be used to wrap your assertion within assertThat method for better readability. |
| public interface | AssertFactory<
the type of the given value. T, the type of the resulting ASSERT extends AssertAssert.A factory that creates an |
| public interface | |
| public interface | AssertionInfo
Information about an assertion. |
| public interface | AssertJProxySetup
Interface implemented by all proxies and serves as a type safe setter. |
| public interface | AssertProvider<
the type of the assert (not typed - to allow any kind of assert) A>Provides a |
| public interface | AutoCloseableSoftAssertionsProvider
Parent interface for soft assertion implementations. |
| public interface | |
| public interface | ComparableAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends ComparableAssertthe type of the "actual" value. ACTUAL extends ComparableAssertion methods applicable to |
| public interface | |
| public interface | EnumerableAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends EnumerableAssertthe type of elements of the "actual" value. ELEMENT>Assertions applicable to groups of values that can be enumerated (e.g. arrays, collections or strings.) |
| public interface | ExtensionPoints<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends ExtensionPointsthe type of the "actual" value. ACTUAL>Mechanism for extending assertion classes. |
| public interface | FloatingPointNumberAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends FloatingPointNumberAssertthe type of the "actual" value. ACTUAL extends Number>Assertion methods applicable to floating-point |
| public interface | IndexedObjectEnumerableAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends IndexedObjectEnumerableAssertthe type of elements of the "actual" value. ELEMENT>Assertions methods applicable to indexed groups of objects (e.g. arrays or lists.) |
| public interface | InstanceOfAssertFactories
|
| public interface | Java6BDDSoftAssertionsProvider
AbstractBDDSoftAssertions compatible with Android. |
| public interface | Java6StandardSoftAssertionsProvider
AbstractStandardSoftAssertions compatible with Android. |
| public interface | NumberAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends NumberAssertthe type of the "actual" value. ACTUAL extends Number>Assertion methods applicable to |
| public interface | ObjectEnumerableAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends ObjectEnumerableAssertthe type of elements of the "actual" value. ELEMENT>Assertions methods applicable to groups of objects (e.g. arrays or collections.) |
| public interface | SoftAssertionsProvider
Parent interface for soft assertion implementations. |
| public interface | |
| public interface | |
| public interface | ThrowingConsumer<
consumed type T>
|
| public interface | WithAssertions
A unified entry point to all non-deprecated assertions from both the new Java 8 core API and the pre-Java 8 core API. |
| public interface | WithAssumptions
A unified entry point to all assumptions from both the new Java 8 core API and the pre-Java 8 core API. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | Abstract2DArrayAssert<
the "self" type of this assertion class. SELF extends Abstract2DArrayAssertthe type of the "actual" value which is a two-dimensional Array of ELEMENT. ACTUAL, the type of the "actual" array element. ELEMENT>Base class for all two-dimensional array assertions. |
| public abstract class | AbstractArrayAssert<
the "self" type of this assertion class. SELF extends AbstractArrayAssertthe type of the "actual" value which is an Array of ELEMENT. ACTUAL, the type of the "actual" array element. ELEMENT>Base class for all array assertions. |
| public abstract class | AbstractAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractAssertthe type of the "actual" value. ACTUAL>Base class for all assertions. |
| public abstract class | AbstractAtomicFieldUpdaterAssert<
the "self" type of this assertion class. SELF extends AbstractAtomicFieldUpdaterAssertthe type of the "actual" value. VALUE, the type of the "actual" atomic. ATOMIC, the type of the object holding the updatable field. OBJECT>Base class for all fieldupdater assertions. |
| public abstract class | AbstractAtomicReferenceAssert<
the "self" type of this assertion class. SELF extends AbstractAtomicReferenceAssertthe type of the "actual" value. VALUE, the type of the "actual" atomic. ATOMIC>Base class for atomic assertions. |
| public abstract class | AbstractBigDecimalAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractBigDecimalAssertBase class for all implementations of assertions for |
| public abstract class | AbstractBigDecimalScaleAssert<SELF extends AbstractBigDecimalAssert
Base class for BigDecimal scale assertions. |
| public class | AbstractBigIntegerAssert<SELF extends AbstractBigIntegerAssert
Base class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractBooleanAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractBooleanAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractByteAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractByteAssertBase class for all implementations of assertions for |
| public abstract class | AbstractCharacterAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractCharacterAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractCharSequenceAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractCharSequenceAssertthe type of the "actual" value. ACTUAL extends CharSequence>Base class for all implementations of assertions for |
| public abstract class | AbstractClassAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractClassAssertBase class for all implementations of assertions for |
| public abstract class | AbstractCollectionAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractCollectionAssertthe type of the "actual" value. ACTUAL extends Collectionthe type of elements of the "actual" value. ELEMENT, used for navigational assertions to return the right assert type. ELEMENT_ASSERT extends AbstractAssertBase class for all implementations of assertions for |
| public abstract class | AbstractComparableAssert<
the "self" type of this assertion class. Please read "Emulating
'self types' using Java Generics to simplify fluent API implementation" for more details. SELF extends AbstractComparableAssertthe type of the "actual" value. ACTUAL extends ComparableBase class for all implementations of |
| public abstract class | AbstractCompletableFutureAssert<SELF extends AbstractCompletableFutureAssert
type of the value contained in the RESULT>CompletableFuture.Assertions for |
| public abstract class | AbstractDateAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation" for
more details. SELF extends AbstractDateAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractDoubleAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractDoubleAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractEnumerableAssert<
the "self" type of this assertion class. SELF extends AbstractEnumerableAssertthe type of the "actual" value which is an Array of ELEMENT. ACTUAL, the type of the "actual" array element. ELEMENT>Base implementation for Enumerable class assertions. |
| public abstract class | AbstractFileAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractFileAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | |
| public abstract class | AbstractFloatAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractFloatAssertBase class for all implementations of assertions for |
| public abstract class | AbstractFutureAssert<SELF extends AbstractFutureAssert
|
| public abstract class | AbstractInputStreamAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractInputStreamAssertthe type of the "actual" value. ACTUAL extends InputStream>Base class for all implementations of assertions for |
| public class | AbstractInstantAssert<
the "self" type of this assertion class. SELF extends AbstractInstantAssertAssertions for |
| public abstract class | |
| public abstract class | AbstractIntegerAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractIntegerAssertBase class for all implementations of assertions for |
| public abstract class | AbstractIterableAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractIterableAssertthe type of the "actual" value. ACTUAL extends Iterablethe type of elements of the "actual" value. ELEMENT, used for navigational assertions to return the right assert type. ELEMENT_ASSERT extends AbstractAssertBase class for implementations of |
| public abstract class | AbstractIterableSizeAssert<SELF extends AbstractIterableAssert
|
| public abstract class | AbstractIteratorAssert<
the "self" type of this assertion class. SELF extends AbstractIteratorAssertthe type of elements. ELEMENT>Base class for all implementations of assertions for |
| public abstract class | AbstractListAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractListAssertthe type of the "actual" value. ACTUAL extends Listthe type of elements of the "actual" value. ELEMENT, used for navigational assertions to return the right assert type. ELEMENT_ASSERT extends AbstractAssertBase class for all implementations of assertions for |
| public abstract class | AbstractLocalDateAssert<
the "self" type of this assertion class. SELF extends AbstractLocalDateAssertAssertions for |
| public abstract class | AbstractLocalDateTimeAssert<
the "self" type of this assertion class. SELF extends AbstractLocalDateTimeAssertAssertions for |
| public abstract class | AbstractLocalTimeAssert<SELF extends AbstractLocalTimeAssert
Assertions for |
| public class | AbstractLongAdderAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractLongAdderAssertBase class for all implementations of assertions for |
| public abstract class | |
| public abstract class | AbstractLongAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractLongAssertBase class for all implementations of assertions for |
| public abstract class | AbstractMapAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractMapAssertthe type of the "actual" value. ACTUAL extends Mapthe type of keys in the map. K, the type of values in the map. V>Base class for all implementations of assertions for |
| public abstract class | AbstractMapSizeAssert<SELF extends AbstractMapAssert
|
| public abstract class | AbstractMatcherAssert<SELF extends AbstractMatcherAssert
Assertions for |
| public abstract class | AbstractObjectArrayAssert<SELF extends AbstractObjectArrayAssert
the type of elements of the "actual" value. ELEMENT>Assertion methods for arrays of objects. |
| public abstract class | AbstractObjectAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractObjectAssertthe type of the "actual" value. ACTUAL>Base class for all implementations of assertions for |
| public abstract class | AbstractOffsetDateTimeAssert<
the "self" type of this assertion class. SELF extends AbstractOffsetDateTimeAssertAssertions for |
| public abstract class | AbstractOffsetTimeAssert<SELF extends AbstractOffsetTimeAssert
Assertions for |
| public abstract class | AbstractOptionalAssert<
the "self" type of this assertion class. SELF extends AbstractOptionalAsserttype of the value contained in the VALUE>java..Assertions for |
| public abstract class | AbstractOptionalDoubleAssert<SELF extends AbstractOptionalDoubleAssert
Assertions for |
| public abstract class | AbstractOptionalIntAssert<SELF extends AbstractOptionalIntAssert
Assertions for |
| public abstract class | AbstractOptionalLongAssert<SELF extends AbstractOptionalLongAssert
Assertions for |
| public abstract class | AbstractPathAssert<
self type SELF extends AbstractPathAssertAssertions for
Note that some assertions have two versions: a normal one and a "raw" one (for instance, |
| public abstract class | |
| public abstract class | AbstractPredicateAssert<SELF extends AbstractPredicateAssert
type of the value contained in the T>Predicate.Assertions for |
| pack-priv abstract class | AbstractPredicateLikeAssert<SELF extends AbstractPredicateLikeAssert
the actual type PRIMITIVE_PREDICATE, the type of the wrapped variable in one of the special predicates PRIMITIVE>Assertions for |
| public abstract class | |
| public abstract class | AbstractShortAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractShortAssertBase class for all implementations of assertions for |
| public abstract class | |
| public class | AbstractSpliteratorAssert<
the "self" type of this assertion class. SELF extends AbstractSpliteratorAssertthe type of elements. ELEMENT>Assertions for |
| public class | |
| public abstract class | AbstractTemporalAssert<SELF extends AbstractTemporalAssert
Base class for all implementations of assertions for |
| public abstract class | AbstractThrowableAssert<
the "self" type of this assertion class. Please read "Emulating 'self types' using Java Generics to simplify fluent API implementation"
for more details. SELF extends AbstractThrowableAssertthe type of the "actual" value. ACTUAL extends Throwable>Base class for all implementations of assertions for |
| public abstract class | AbstractUniversalComparableAssert<SELF extends AbstractUniversalComparableAssert
Base class for |
| public abstract class | AbstractUriAssert<
the "self" type of this assertion class. SELF extends AbstractUriAssertBase class for all implementations of assertions for |
| public abstract class | AbstractUrlAssert<
the "self" type of this assertion class. SELF extends AbstractUrlAssertBase class for all implementations of assertions for |
| public abstract class | AbstractYearMonthAssert<
the "self" type of this assertion class. SELF extends AbstractYearMonthAssertBase class for all implementations of assertions for |
| public abstract class | |
| public class | Assertions
Entry point for assertion methods for different types. |
| public class | AssertionsForClassTypes
Java 8 is picky when choosing the right |
| public class | AssertionsForInterfaceTypes
Entry point for assertion methods for different data types. |
| public class | AssumptionExceptionFactory
Responsible for building the exception to throw for failing assumptions. |
| public class | Assumptions
Entry point for assumption methods for different types, which allow to skip test execution on failed assumptions. |
| public class | |
| public class | |
| public class | |
| public class | AtomicIntegerFieldUpdaterAssert<
the type of the object holding the updatable field. OBJECT>Assertion methods for |
| public class | |
| public class | |
| public class | AtomicLongFieldUpdaterAssert<
the type of the object holding the updatable field. OBJECT>Assertion methods for |
| public class | |
| public class | |
| public class | |
| public class | AtomicReferenceFieldUpdaterAssert<
the type of the field which gets updated by the FIELD, AtomicReferenceFieldUpdater.the type of the object holding the updatable field. OBJECT>Assertion methods for |
| public class | |
| public class | AutoCloseableBDDSoftAssertions
A version of |
| public class | AutoCloseableSoftAssertions
A version of |
| public class | BDDAssertions
Behavior-driven development style entry point for assertion methods for different types. |
| public class | BDDAssumptions
Behavior-driven development style entry point for assumption methods for different types, which allow to skip test execution when assumptions are not met. |
| public class | BDDSoftAssertions
Suppose we have a test case and in it we'd like to make numerous BDD assertions. |
| public class | BigDecimalAssert
Assertion methods for |
| public class | |
| public class | BigIntegerAssert
Assertion methods for |
| public class | Boolean2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | BooleanArrayAssert
Assertion methods for arrays of |
| public class | BooleanAssert
Assertion methods for |
| public class | Byte2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | ByteArrayAssert
Assertion methods for arrays of |
| public class | ByteAssert
Assertion methods for |
| public class | Char2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | CharacterAssert
Assertion methods for |
| public class | CharArrayAssert
Assertion methods for arrays of |
| public class | CharSequenceAssert
Assertion methods for |
| public class | ClassAssert
Assertion methods for |
| public class | ClassBasedNavigableIterableAssert<SELF extends ClassBasedNavigableIterableAssert
Build the Assert instance by reflection. |
| public class | ClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert
Build the Assert instance by reflection. |
| pack-priv class | |
| public class | CollectionAssert<
the type of elements of the "actual" value. ELEMENT>Assertion methods for |
| public class | |
| public class | CompletableFutureAssert<
type of the value contained in the RESULT>CompletableFuture.Assertions for |
| public class | |
| public class | DateAssert
Assertions for |
| public class | |
| public class | Double2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | DoubleArrayAssert
Assertion methods for arrays of |
| public class | DoubleAssert
Assertion methods for |
| public class | DoublePredicateAssert
Assertions for |
| public class | DurationAssert
Assertion methods for |
| public class | ErrorCollector
Collects error messages of all AssertionErrors thrown by the proxied method. |
| public class | FactoryBasedNavigableIterableAssert<SELF extends FactoryBasedNavigableIterableAssert
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily. |
| public class | FactoryBasedNavigableListAssert<SELF extends FactoryBasedNavigableListAssert
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions through deeply nested models more easily. |
| public class | Fail
Common failures. |
| public class | FileAssert
Assertion methods for |
| public class | |
| public class | Float2DArrayAssert
Reusable assertions for two-dimensional arrays of |
| public class | FloatArrayAssert
Assertion methods for arrays of |
| public class | FloatAssert
Assertion methods for floats. |
| public class | |
| public class | GenericComparableAssert<
the type of the "actual" value. ACTUAL extends ComparableConcrete generic |
| public class | |
| public class | InputStreamAssert
Assertion methods for |
| public class | InstanceOfAssertFactory<
the type to use for the cast. T, the type of the resulting ASSERT extends AbstractAssertAssert.
|
| public class | InstantAssert
Assertion methods for |
| public class | Int2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | IntArrayAssert
Assertion methods for arrays of |
| public class | IntegerAssert
Assertion methods for |
| public class | IntPredicateAssert
Assertions for |
| public class | |
| public class | |
| public class | |
| public class | Java6Assertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | Java6BDDAssertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | Java6BDDSoftAssertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | Java6JUnitBDDSoftAssertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | Java6JUnitSoftAssertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | Java6SoftAssertions
Deprecated
For Android compatible assertions use the latest assertj 2.x version which is based on Java 7 only.
|
| public class | JUnitBDDSoftAssertions
Same as
|
| public class | JUnitJupiterBDDSoftAssertions
Deprecated
use
SoftAssertionsExtension instead.
|
| public class | JUnitJupiterSoftAssertions
Deprecated
use
SoftAssertionsExtension instead.
|
| public class | JUnitSoftAssertions
Same as
|
| public class | |
| public class | |
| public class | |
| public class | |
| public class | Long2DArrayAssert
Assertion methods for two-dimensional arrays of |
| public class | LongAdderAssert
Assertions for |
| public class | LongArrayAssert
Assertion methods for arrays of |
| public class | LongAssert
Assertion methods for |
| public class | LongPredicateAssert
Assertions for |
| public class | |
| public class | |
| public class | MatcherAssert
Assertions for |
| public class | NotThrownAssert
Assertion class checking a |
| public class | Object2DArrayAssert<
the type of elements of the "actual" value. ELEMENT>Assertion methods for two-dimensional arrays of objects. |
| public class | ObjectArrayAssert<
the type of elements of the "actual" value. ELEMENT>Assertion methods for arrays of objects. |
| public class | |
| public class | |
| public class | |
| public class | |
| public class | OptionalAssert<
type of the value contained in the VALUE>java..Assertions for |
| public class | OptionalDoubleAssert
Assertions for |
| public class | OptionalIntAssert
Assertions for |
| public class | OptionalLongAssert
Assertions for |
| public class | PathAssert
Assertion class for |
| public class | PeriodAssert
Assertion methods for |
| public class | |
| public class | |
| public class | RecursiveAssertionAssert
An assertion that supports asserting a |
| public class | |
| public class | Short2DArrayAssert
Assertion methods for arrays of |
| public class | ShortArrayAssert
Assertion methods for arrays of |
| public class | ShortAssert
Assertion methods for |
| public class | SoftAssertionError
An AssertionError that contains the error messages of the one or more AssertionErrors that caused this exception to be thrown. |
| public class | SoftAssertions
Suppose we have a test case and in it we'd like to make numerous assertions. |
| pack-priv class | |
| pack-priv class | |
| public class | SoftThrowableAssertAlternative<ACTUAL extends Throwable>
|
| public class | |
| public class | |
| public class | StringAssert
Assertion methods for |
| public class | |
| public class | |
| public class | ThrowableAssertAlternative<ACTUAL extends Throwable>
Assertion methods for |
| public class | ThrowableTypeAssert<
type of throwable to be thrown. T extends Throwable>Assertion class checking |
| public class | |
| public class | UriAssert
Assertion class for |
| public class | UrlAssert
Assertion class for |
| public class | |
| public class | WritableAssertionInfo
Writable information about an assertion. |
| public class | YearMonthAssert
Assertions for |
| public class | ZonedDateTimeAssert
Assertions for |