public interface Java6BDDSoftAssertionsProvider extends SoftAssertionsProvider
BDDSoftAssertionsProvider.BDDSoftAssertionsProviderSoftAssertionsProvider.ThrowingRunnable| Modifier and Type | Method and Description |
|---|---|
default AtomicBooleanAssert |
then(AtomicBoolean actual)
Create assertion for
AtomicBoolean. |
default AtomicIntegerAssert |
then(AtomicInteger actual)
Create assertion for
AtomicInteger. |
default AtomicIntegerArrayAssert |
then(AtomicIntegerArray actual)
Create assertion for
AtomicIntegerArray. |
default <OBJECT> AtomicIntegerFieldUpdaterAssert<OBJECT> |
then(AtomicIntegerFieldUpdater<OBJECT> actual)
Create assertion for
AtomicIntegerFieldUpdater. |
default AtomicLongAssert |
then(AtomicLong actual)
Create assertion for
AtomicLong. |
default AtomicLongArrayAssert |
then(AtomicLongArray actual)
Create assertion for
AtomicLongArray. |
default <OBJECT> AtomicLongFieldUpdaterAssert<OBJECT> |
then(AtomicLongFieldUpdater<OBJECT> actual)
Create assertion for
AtomicLongFieldUpdater. |
default <VALUE> AtomicMarkableReferenceAssert<VALUE> |
then(AtomicMarkableReference<VALUE> actual)
Create assertion for
AtomicMarkableReference. |
default <VALUE> AtomicReferenceAssert<VALUE> |
then(AtomicReference<VALUE> actual)
Create assertion for
AtomicReference. |
default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
then(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray. |
default <FIELD,OBJECT> |
then(AtomicReferenceFieldUpdater<OBJECT,FIELD> actual)
Create assertion for
AtomicReferenceFieldUpdater. |
default <VALUE> AtomicStampedReferenceAssert<VALUE> |
then(AtomicStampedReference<VALUE> actual)
Create assertion for
AtomicStampedReference. |
default BigDecimalAssert |
then(BigDecimal actual)
Creates a new instance of
. |
default BigIntegerAssert |
then(BigInteger actual)
Creates a new instance of
. |
default BooleanAssert |
then(boolean actual)
Creates a new instance of
. |
default BooleanAssert |
then(Boolean actual)
Creates a new instance of
. |
default BooleanArrayAssert |
then(boolean[] actual)
Creates a new instance of
. |
default Boolean2DArrayAssert |
then(boolean[][] actual)
Creates a new instance of
. |
default ByteAssert |
then(byte actual)
Creates a new instance of
. |
default ByteAssert |
then(Byte actual)
Creates a new instance of
. |
default ByteArrayAssert |
then(byte[] actual)
Creates a new instance of
. |
default Byte2DArrayAssert |
then(byte[][] actual)
Creates a new instance of
. |
default CharacterAssert |
then(char actual)
Creates a new instance of
. |
default CharArrayAssert |
then(char[] actual)
Creates a new instance of
. |
default Char2DArrayAssert |
then(char[][] actual)
Creates a new instance of
. |
default CharacterAssert |
then(Character actual)
Creates a new instance of
. |
default CharSequenceAssert |
then(CharSequence actual)
Creates a new instance of
. |
default ClassAssert |
then(Class<?> actual)
Creates a new instance of
|
default <T> CollectionAssert<T> |
then(Collection<? extends T> actual)
Creates a new instance of
. |
default DateAssert |
then(Date actual)
Creates a new instance of
. |
default DoubleAssert |
then(double actual)
Creates a new instance of
. |
default DoubleAssert |
then(Double actual)
Creates a new instance of
. |
default DoubleArrayAssert |
then(double[] actual)
Creates a new instance of
. |
default Double2DArrayAssert |
then(double[][] actual)
Creates a new instance of
. |
default FileAssert |
then(File actual)
Creates a new instance of
. |
default FloatAssert |
then(float actual)
Creates a new instance of
. |
default FloatAssert |
then(Float actual)
Creates a new instance of
. |
default FloatArrayAssert |
then(float[] actual)
Creates a new instance of
. |
default Float2DArrayAssert |
then(float[][] actual)
Creates a new instance of
. |
default <RESULT> FutureAssert<RESULT> |
then(Future<RESULT> actual)
Creates a new instance of
. |
default InputStreamAssert |
then(InputStream actual)
Creates a new instance of
. |
default IntegerAssert |
then(int actual)
Creates a new instance of
. |
default IntArrayAssert |
then(int[] actual)
Creates a new instance of
. |
default Int2DArrayAssert |
then(int[][] actual)
Creates a new instance of
. |
default IntegerAssert |
then(Integer actual)
Creates a new instance of
. |
default <T> IterableAssert<T> |
then(Iterable<? extends T> actual)
Creates a new instance of
. |
default <T> IteratorAssert<T> |
then(Iterator<? extends T> actual)
Creates a new instance of
. |
default <T> ListAssert<T> |
then(List<? extends T> actual)
Creates a new instance of
. |
default LongAssert |
then(long actual)
Creates a new instance of
. |
default LongAssert |
then(Long actual)
Creates a new instance of
. |
default LongArrayAssert |
then(long[] actual)
Creates a new instance of
. |
default Long2DArrayAssert |
then(long[][] actual)
Creates a new instance of
. |
default <K,V> MapAssert<K,V> |
then(Map<K,V> actual)
Creates a new instance of
. |
default ShortAssert |
then(short actual)
Creates a new instance of
. |
default ShortAssert |
then(Short actual)
Creates a new instance of
. |
default ShortArrayAssert |
then(short[] actual)
Creates a new instance of
. |
default Short2DArrayAssert |
then(short[][] actual)
Creates a new instance of
. |
default StringAssert |
then(String actual)
Creates a new instance of
. |
default CharSequenceAssert |
then(StringBuffer actual)
Creates a new instance of
from a StringBuffer. |
default CharSequenceAssert |
then(StringBuilder actual)
Creates a new instance of
from a StringBuilder. |
default <T> ObjectAssert<T> |
then(T actual)
Creates a new instance of
. |
default <T extends Comparable<? super T>> |
then(T actual)
Creates a new instance of
with standard comparison semantics. |
default <T extends Throwable> |
then(T actual)
Creates a new instance of
. |
default <T> ObjectArrayAssert<T> |
then(T[] actual)
Creates a new instance of
. |
default <T> Object2DArrayAssert<T> |
then(T[][] actual)
Creates a new instance of
. |
default UriAssert |
then(URI actual)
Creates a new instance of
. |
default AbstractUrlAssert<?> |
then(URL actual)
Creates a new instance of
. |
default AbstractThrowableAssert<?,? extends Throwable> |
thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default <E> AbstractCollectionAssert<?,Collection<? extends E>,E,ObjectAssert<E>> |
thenCollection(Collection<? extends E> actual)
Creates a new instance of
. |
default <T> AbstractUniversalComparableAssert<?,T> |
thenComparable(Comparable<T> actual)
Creates a new instance of
with standard comparison semantics. |
default ThrowableTypeAssert<Exception> |
thenException()
Alias for
thenExceptionOfType(Class) for Exception. |
default <T extends Throwable> |
thenExceptionOfType(Class<T> throwableType)
Entry point to check that an exception of type T is thrown by a given
throwingCallable
which allows to chain assertions on the thrown exception. |
default ThrowableTypeAssert<IllegalArgumentException> |
thenIllegalArgumentException()
Alias for
thenExceptionOfType(Class) for IllegalArgumentException. |
default ThrowableTypeAssert<IllegalStateException> |
thenIllegalStateException()
Alias for
thenExceptionOfType(Class) for IllegalStateException. |
default ThrowableTypeAssert<IndexOutOfBoundsException> |
thenIndexOutOfBoundsException()
Alias for
thenExceptionOfType(Class) for IndexOutOfBoundsException. |
default ThrowableTypeAssert<IOException> |
thenIOException()
Alias for
thenExceptionOfType(Class) for IOException. |
default <ELEMENT> IterableAssert<ELEMENT> |
thenIterable(Iterable<? extends ELEMENT> actual)
Creates a new instance of
. |
default <ELEMENT> IteratorAssert<ELEMENT> |
thenIterator(Iterator<? extends ELEMENT> actual)
Creates a new instance of
. |
default <ELEMENT> ListAssert<ELEMENT> |
thenList(List<? extends ELEMENT> actual)
Creates a new instance of
. |
default ThrowableTypeAssert<NullPointerException> |
thenNullPointerException()
Alias for
thenExceptionOfType(Class) for NullPointerException. |
default <T> ObjectAssert<T> |
thenObject(T actual)
Creates a new instance of
for any object. |
default ThrowableTypeAssert<ReflectiveOperationException> |
thenReflectiveOperationException()
Alias for
thenExceptionOfType(Class) for ReflectiveOperationException. |
default ThrowableTypeAssert<RuntimeException> |
thenRuntimeException()
Alias for
thenExceptionOfType(Class) for RuntimeException. |
default AbstractThrowableAssert<?,? extends Throwable> |
thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default AbstractThrowableAssert<?,? extends Throwable> |
thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args)
Allows to capture and then assert on a
Throwable like thenThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...). |
assertAll, assertAlso, assertSoftly, check, proxyassertionErrorsCollected, collectAssertionError, getDelegate, onAssertionErrorCollected, setDelegate, succeeded, wasSuccessdefault BigDecimalAssert then(BigDecimal actual)
BigDecimalAssert.actual - the actual value.default BigIntegerAssert then(BigInteger actual)
BigIntegerAssert.actual - the actual value.default BooleanAssert then(boolean actual)
BooleanAssert.actual - the actual value.default BooleanAssert then(Boolean actual)
BooleanAssert.actual - the actual value.default BooleanArrayAssert then(boolean[] actual)
BooleanArrayAssert.actual - the actual value.default Boolean2DArrayAssert then(boolean[][] actual)
Boolean2DArrayAssert.actual - the actual value.default ByteAssert then(byte actual)
ByteAssert.actual - the actual value.default ByteAssert then(Byte actual)
ByteAssert.actual - the actual value.default ByteArrayAssert then(byte[] actual)
ByteArrayAssert.actual - the actual value.default Byte2DArrayAssert then(byte[][] actual)
Byte2DArrayAssert.actual - the actual value.default CharacterAssert then(char actual)
CharacterAssert.actual - the actual value.default CharArrayAssert then(char[] actual)
CharArrayAssert.actual - the actual value.default Char2DArrayAssert then(char[][] actual)
Char2DArrayAssert.actual - the actual value.default CharacterAssert then(Character actual)
CharacterAssert.actual - the actual value.default ClassAssert then(Class<?> actual)
ClassAssert
We don't return ClassAssert as it has overridden methods to annotated with SafeVarargs.
actual - the actual value.default <T> CollectionAssert<T> then(Collection<? extends T> actual)
CollectionAssert.T - the type of elements.actual - the actual value.default <E> AbstractCollectionAssert<?,Collection<? extends E>,E,ObjectAssert<E>> thenCollection(Collection<? extends E> actual)
CollectionAssert.
Use this over then(Collection) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides then for.
E - the type of elements.actual - the actual value.default <T extends Comparable<? super T>> AbstractComparableAssert<?,T> then(T actual)
GenericComparableAssert with standard comparison semantics.T - the type of actual.actual - the actual value.default <T> AbstractUniversalComparableAssert<?,T> thenComparable(Comparable<T> actual)
UniversalComparableAssert with standard comparison semantics.
Use this over then(Comparable) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides then for.
T - the type of actual.actual - the actual value.default <T> IterableAssert<T> then(Iterable<? extends T> actual)
IterableAssert.T - the type of elements.actual - the actual value.default <ELEMENT> IterableAssert<ELEMENT> thenIterable(Iterable<? extends ELEMENT> actual)
IterableAssert.
Use this over then(Iterable) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides then for.
ELEMENT - the type of elements.actual - the actual value.default <T> IteratorAssert<T> then(Iterator<? extends T> actual)
IteratorAssert.
This is a breaking change in version 3.12.0: this method used to return an IterableAssert.
T - the type of elements.actual - the actual value.default <ELEMENT> IteratorAssert<ELEMENT> thenIterator(Iterator<? extends ELEMENT> actual)
IteratorAssert.
Use this over then(Iterator) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides then for.
ELEMENT - the type of elements.actual - the actual value.default DoubleAssert then(double actual)
DoubleAssert.actual - the actual value.default DoubleAssert then(Double actual)
DoubleAssert.actual - the actual value.default DoubleArrayAssert then(double[] actual)
DoubleArrayAssert.actual - the actual value.default Double2DArrayAssert then(double[][] actual)
Double2DArrayAssert.actual - the actual value.default FileAssert then(File actual)
FileAssert.actual - the actual value.default <RESULT> FutureAssert<RESULT> then(Future<RESULT> actual)
FutureAssert.RESULT - the type of the value contained in the Future.actual - the actual value.default InputStreamAssert then(InputStream actual)
InputStreamAssert.actual - the actual value.default FloatAssert then(float actual)
FloatAssert.actual - the actual value.default FloatAssert then(Float actual)
FloatAssert.actual - the actual value.default FloatArrayAssert then(float[] actual)
FloatArrayAssert.actual - the actual value.default Float2DArrayAssert then(float[][] actual)
Float2DArrayAssert.actual - the actual value.default IntegerAssert then(int actual)
IntegerAssert.actual - the actual value.default IntArrayAssert then(int[] actual)
IntArrayAssert.actual - the actual value.default Int2DArrayAssert then(int[][] actual)
Int2DArrayAssert.actual - the actual value.default IntegerAssert then(Integer actual)
IntegerAssert.actual - the actual value.default <T> ListAssert<T> then(List<? extends T> actual)
ListAssert.T - the type of elements.actual - the actual value.default <ELEMENT> ListAssert<ELEMENT> thenList(List<? extends ELEMENT> actual)
ListAssert.
Use this over then(List) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides then for.
ELEMENT - the type of elements.actual - the actual value.default LongAssert then(long actual)
LongAssert.actual - the actual value.default LongAssert then(Long actual)
LongAssert.actual - the actual value.default LongArrayAssert then(long[] actual)
LongArrayAssert.actual - the actual value.default Long2DArrayAssert then(long[][] actual)
Long2DArrayAssert.actual - the actual value.default <T> ObjectAssert<T> then(T actual)
ObjectAssert.T - the type of the actual value.actual - the actual value.default <T> ObjectArrayAssert<T> then(T[] actual)
ObjectArrayAssert.T - the type of elements.actual - the actual value.default <T> Object2DArrayAssert<T> then(T[][] actual)
Object2DArrayAssert.T - the type of elements.actual - the actual value.default <K,V> MapAssert<K,V> then(Map<K,V> actual)
MapAssert.
We don't return MapAssert as it has overridden methods to annotated with SafeVarargs.
K - the type of keys in the map.V - the type of values in the map.actual - the actual value.default ShortAssert then(short actual)
ShortAssert.actual - the actual value.default ShortAssert then(Short actual)
ShortAssert.actual - the actual value.default ShortArrayAssert then(short[] actual)
ShortArrayAssert.actual - the actual value.default Short2DArrayAssert then(short[][] actual)
Short2DArrayAssert.actual - the actual value.default CharSequenceAssert then(CharSequence actual)
CharSequenceAssert.actual - the actual value.default CharSequenceAssert then(StringBuilder actual)
CharSequenceAssert from a StringBuilder.actual - the actual value.default CharSequenceAssert then(StringBuffer actual)
CharSequenceAssert from a StringBuffer.actual - the actual value.default StringAssert then(String actual)
StringAssert.actual - the actual value.default DateAssert then(Date actual)
DateAssert.actual - the actual value.default AtomicBooleanAssert then(AtomicBoolean actual)
AtomicBoolean.actual - the actual value.default AtomicIntegerAssert then(AtomicInteger actual)
AtomicInteger.actual - the actual value.default AtomicIntegerArrayAssert then(AtomicIntegerArray actual)
AtomicIntegerArray.actual - the actual value.default <OBJECT> AtomicIntegerFieldUpdaterAssert<OBJECT> then(AtomicIntegerFieldUpdater<OBJECT> actual)
AtomicIntegerFieldUpdater.OBJECT - The type of the object holding the updatable fieldactual - the actual value.default AtomicLongAssert then(AtomicLong actual)
AtomicLong.actual - the actual value.default AtomicLongArrayAssert then(AtomicLongArray actual)
AtomicLongArray.actual - the actual value.default <OBJECT> AtomicLongFieldUpdaterAssert<OBJECT> then(AtomicLongFieldUpdater<OBJECT> actual)
AtomicLongFieldUpdater.OBJECT - the type of the object holding the updatable fieldactual - the actual value.default <VALUE> AtomicReferenceAssert<VALUE> then(AtomicReference<VALUE> actual)
AtomicReference.VALUE - the type of object referred to by this referenceactual - the actual value.default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> then(AtomicReferenceArray<ELEMENT> actual)
AtomicReferenceArray.ELEMENT - the type of object referred to by the AtomicReferenceArray.actual - the actual value.default <FIELD,OBJECT> AtomicReferenceFieldUpdaterAssert<FIELD,OBJECT> then(AtomicReferenceFieldUpdater<OBJECT,FIELD> actual)
AtomicReferenceFieldUpdater.FIELD - The type of the fieldOBJECT - the type of the object holding the updatable fieldactual - the actual value.default <VALUE> AtomicMarkableReferenceAssert<VALUE> then(AtomicMarkableReference<VALUE> actual)
AtomicMarkableReference.VALUE - the type of object referred to by this referenceactual - the actual value.default <VALUE> AtomicStampedReferenceAssert<VALUE> then(AtomicStampedReference<VALUE> actual)
AtomicStampedReference.VALUE - the type of value referred to by this referenceactual - the actual value.default <T extends Throwable> ThrowableAssert<T> then(T actual)
ThrowableAssert.T - the type of the actual throwable.actual - the actual value.default AbstractThrowableAssert<?,? extends Throwable> thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Throwable more easily when used with Java 8 lambdas.
Java 8 example :
@Test
default void testException() {
BDDSoftAssertions softly = new BDDSoftAssertions();
softly.thenThrownBy(() -> { throw new Exception("boom!"); }).isInstanceOf(Exception.class)
.hasMessageContaining("boom");
}
Java 7 example :
BDDSoftAssertions softly = new BDDSoftAssertions();
softly.thenThrownBy(new ThrowingCallable() {
@Override
default Void call() throws Exception {
throw new Exception("boom!");
}
}).isInstanceOf(Exception.class)
.hasMessageContaining("boom");
If the provided ThrowableAssert.ThrowingCallable does not raise an exception, an error is immediately thrown,
in that case the test description provided with as(String, Object...) is not honored.Assertions.catchThrowable(ThrowableAssert.ThrowingCallable) as shown below:
// assertion will fail but "display me" won't appear in the error
softly.thenThrownBy(() -> {}).as("display me")
.isInstanceOf(Exception.class);
// assertion will fail AND "display me" will appear in the error
Throwable thrown = catchThrowable(() -> {});
softly.then(thrown).as("display me")
.isInstanceOf(Exception.class);
Alternatively you can also use thenCode(ThrowingCallable) for the test description provided
with as(String, Object...) to always be honored.shouldRaiseThrowable - The ThrowableAssert.ThrowingCallable or lambda with the code that should raise the throwable.null if none was raised by the callable.default AbstractThrowableAssert<?,? extends Throwable> thenThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable, String description, Object... args)
Throwable like thenThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...).
Example:
@Test
default void testException() {
BDDSoftAssertions softly = new BDDSoftAssertions();
// if this assertion failed (but it doesn't), the error message would start with [Test explosive code]
softly.thenThrownBy(() -> { throw new IOException("boom!") }, "Test explosive code")
.isInstanceOf(IOException.class)
.hasMessageContaining("boom");
}
If the provided ThrowingCallable does not raise an exception, an error is immediately thrown.
The test description provided is honored but not the one with as(String, Object...), example:
// assertion will fail but "display me" won't appear in the error message
softly.thenThrownBy(() -> {}).as("display me")
.isInstanceOf(Exception.class);
// assertion will fail AND "display me" will appear in the error message
softly.thenThrownBy(() -> {}, "display me")
.isInstanceOf(Exception.class);shouldRaiseThrowable - The ThrowableAssert.ThrowingCallable or lambda with the code that should raise the throwable.description - the new description to set.args - optional parameter if description is a format String.ThrowableAssert.default AbstractThrowableAssert<?,? extends Throwable> thenCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Throwable more easily when used with Java 8 lambdas.
Example :
ThrowingCallable callable = () -> {
throw new Exception("boom!");
};
// assertion succeeds
thenCode(callable).isInstanceOf(Exception.class)
.hasMessageContaining("boom");
// assertion fails
thenCode(callable).doesNotThrowAnyException();
Contrary to thenThrownBy(ThrowingCallable) the test description provided with
as(String, Object...) is always honored as shown below.
ThrowingCallable doNothing = () -> {
// do nothing
};
// assertion fails and "display me" appears in the assertion error
thenCode(doNothing).as("display me")
.isInstanceOf(Exception.class);
This method was not named then because the java compiler reported it ambiguous when used directly with a lambda :(
shouldRaiseOrNotThrowable - The ThrowableAssert.ThrowingCallable or lambda with the code that should raise the throwable.null if none was raised by the callable.default <T> ObjectAssert<T> thenObject(T actual)
ObjectAssert for any object.
This overload is useful, when an overloaded method of then(...) takes precedence over the generic then(Object).
Example:
Cast necessary becausethen(List) "forgets" actual type:
then(new LinkedList<>(asList("abc"))).matches(list -> ((Deque<String>) list).getFirst().equals("abc"));
No cast needed, but also no additional list assertions:
thenObject(new LinkedList<>(asList("abc"))).matches(list -> list.getFirst().equals("abc")); T - the type of the actual value.actual - the actual value.default UriAssert then(URI actual)
UriAssert.actual - the actual value.default AbstractUrlAssert<?> then(URL actual)
UrlAssert.actual - the actual value.default <T extends Throwable> ThrowableTypeAssert<T> thenExceptionOfType(Class<T> throwableType)
throwingCallable
which allows to chain assertions on the thrown exception.
Example:
softly.thenExceptionOfType(IOException.class)
.isThrownBy(() -> { throw new IOException("boom!"); })
.withMessage("boom!");
This method is more or less the same of #thenThrownBy(ThrowingCallable) but in a more natural way.T - the Throwable type.throwableType - the Throwable type class.ThrowableTypeAssert.default ThrowableTypeAssert<RuntimeException> thenRuntimeException()
thenExceptionOfType(Class) for RuntimeException.ThrowableTypeAssert.default ThrowableTypeAssert<NullPointerException> thenNullPointerException()
thenExceptionOfType(Class) for NullPointerException.ThrowableTypeAssert.default ThrowableTypeAssert<IllegalArgumentException> thenIllegalArgumentException()
thenExceptionOfType(Class) for IllegalArgumentException.ThrowableTypeAssert.default ThrowableTypeAssert<IOException> thenIOException()
thenExceptionOfType(Class) for IOException.ThrowableTypeAssert.default ThrowableTypeAssert<IllegalStateException> thenIllegalStateException()
thenExceptionOfType(Class) for IllegalStateException.ThrowableTypeAssert.default ThrowableTypeAssert<Exception> thenException()
thenExceptionOfType(Class) for Exception.ThrowableTypeAssert.default ThrowableTypeAssert<ReflectiveOperationException> thenReflectiveOperationException()
thenExceptionOfType(Class) for ReflectiveOperationException.ThrowableTypeAssert.default ThrowableTypeAssert<IndexOutOfBoundsException> thenIndexOutOfBoundsException()
thenExceptionOfType(Class) for IndexOutOfBoundsException.ThrowableTypeAssert.Copyright © 2025. All rights reserved.