public interface Java6StandardSoftAssertionsProvider extends SoftAssertionsProvider
StandardSoftAssertionsProvider.StandardSoftAssertionsProviderSoftAssertionsProvider.ThrowingRunnable| Modifier and Type | Method and Description |
|---|---|
default AtomicBooleanAssert |
assertThat(AtomicBoolean actual)
Create assertion for
AtomicBoolean. |
default AtomicIntegerAssert |
assertThat(AtomicInteger actual)
Create assertion for
AtomicInteger. |
default AtomicIntegerArrayAssert |
assertThat(AtomicIntegerArray actual)
Create assertion for
AtomicIntegerArray. |
default <OBJECT> AtomicIntegerFieldUpdaterAssert<OBJECT> |
assertThat(AtomicIntegerFieldUpdater<OBJECT> actual)
Create assertion for
AtomicIntegerFieldUpdater. |
default AtomicLongAssert |
assertThat(AtomicLong actual)
Create assertion for
AtomicLong. |
default AtomicLongArrayAssert |
assertThat(AtomicLongArray actual)
Create assertion for
AtomicLongArray. |
default <OBJECT> AtomicLongFieldUpdaterAssert<OBJECT> |
assertThat(AtomicLongFieldUpdater<OBJECT> actual)
Create assertion for
AtomicLongFieldUpdater. |
default <VALUE> AtomicMarkableReferenceAssert<VALUE> |
assertThat(AtomicMarkableReference<VALUE> actual)
Create assertion for
AtomicMarkableReference. |
default <VALUE> AtomicReferenceAssert<VALUE> |
assertThat(AtomicReference<VALUE> actual)
Create assertion for
AtomicReference. |
default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> |
assertThat(AtomicReferenceArray<ELEMENT> actual)
Create assertion for
AtomicReferenceArray. |
default <FIELD,OBJECT> |
assertThat(AtomicReferenceFieldUpdater<OBJECT,FIELD> actual)
Create assertion for
AtomicReferenceFieldUpdater. |
default <VALUE> AtomicStampedReferenceAssert<VALUE> |
assertThat(AtomicStampedReference<VALUE> actual)
Create assertion for
AtomicStampedReference. |
default BigDecimalAssert |
assertThat(BigDecimal actual)
Creates a new instance of
. |
default BigIntegerAssert |
assertThat(BigInteger actual)
Creates a new instance of
. |
default BooleanAssert |
assertThat(boolean actual)
Creates a new instance of
. |
default BooleanAssert |
assertThat(Boolean actual)
Creates a new instance of
. |
default BooleanArrayAssert |
assertThat(boolean[] actual)
Creates a new instance of
. |
default Boolean2DArrayAssert |
assertThat(boolean[][] actual)
Creates a new instance of
. |
default ByteAssert |
assertThat(byte actual)
Creates a new instance of
. |
default ByteAssert |
assertThat(Byte actual)
Creates a new instance of
. |
default ByteArrayAssert |
assertThat(byte[] actual)
Creates a new instance of
. |
default Byte2DArrayAssert |
assertThat(byte[][] actual)
Creates a new instance of
. |
default CharacterAssert |
assertThat(char actual)
Creates a new instance of
. |
default CharArrayAssert |
assertThat(char[] actual)
Creates a new instance of
. |
default Char2DArrayAssert |
assertThat(char[][] actual)
Creates a new instance of
. |
default CharacterAssert |
assertThat(Character actual)
Creates a new instance of
. |
default CharSequenceAssert |
assertThat(CharSequence actual)
Creates a new instance of
. |
default ClassAssert |
assertThat(Class<?> actual)
Creates a new instance of
|
default <T> CollectionAssert<T> |
assertThat(Collection<? extends T> actual)
Creates a new instance of
. |
default DateAssert |
assertThat(Date actual)
Creates a new instance of
. |
default DoubleAssert |
assertThat(double actual)
Creates a new instance of
. |
default DoubleAssert |
assertThat(Double actual)
Creates a new instance of
. |
default DoubleArrayAssert |
assertThat(double[] actual)
Creates a new instance of
. |
default Double2DArrayAssert |
assertThat(double[][] actual)
Creates a new instance of
. |
default FileAssert |
assertThat(File actual)
Creates a new instance of
. |
default FloatAssert |
assertThat(float actual)
Creates a new instance of
. |
default FloatAssert |
assertThat(Float actual)
Creates a new instance of
. |
default FloatArrayAssert |
assertThat(float[] actual)
Creates a new instance of
. |
default Float2DArrayAssert |
assertThat(float[][] actual)
Creates a new instance of
. |
default <RESULT> FutureAssert<RESULT> |
assertThat(Future<RESULT> actual)
Creates a new instance of
. |
default InputStreamAssert |
assertThat(InputStream actual)
Creates a new instance of
. |
default IntegerAssert |
assertThat(int actual)
Creates a new instance of
. |
default IntArrayAssert |
assertThat(int[] actual)
Creates a new instance of
. |
default Int2DArrayAssert |
assertThat(int[][] actual)
Creates a new instance of
. |
default IntegerAssert |
assertThat(Integer actual)
Creates a new instance of
. |
default <T> IterableAssert<T> |
assertThat(Iterable<? extends T> actual)
Creates a new instance of
. |
default <T> IteratorAssert<T> |
assertThat(Iterator<? extends T> actual)
Creates a new instance of
. |
default <T> ListAssert<T> |
assertThat(List<? extends T> actual)
Creates a new instance of
. |
default LongAssert |
assertThat(long actual)
Creates a new instance of
. |
default LongAssert |
assertThat(Long actual)
Creates a new instance of
. |
default LongArrayAssert |
assertThat(long[] actual)
Creates a new instance of
. |
default Long2DArrayAssert |
assertThat(long[][] actual)
Creates a new instance of
. |
default <K,V> MapAssert<K,V> |
assertThat(Map<K,V> actual)
Creates a new instance of
. |
default ShortAssert |
assertThat(short actual)
Creates a new instance of
. |
default ShortAssert |
assertThat(Short actual)
Creates a new instance of
. |
default ShortArrayAssert |
assertThat(short[] actual)
Creates a new instance of
. |
default Short2DArrayAssert |
assertThat(short[][] actual)
Creates a new instance of
. |
default StringAssert |
assertThat(String actual)
Creates a new instance of
. |
default CharSequenceAssert |
assertThat(StringBuffer actual)
Creates a new instance of
from a StringBuffer. |
default CharSequenceAssert |
assertThat(StringBuilder actual)
Creates a new instance of
from a StringBuilder. |
default <T> ObjectAssert<T> |
assertThat(T actual)
Creates a new instance of
. |
default <T extends Comparable<? super T>> |
assertThat(T actual)
Creates a new instance of
with
standard comparison semantics. |
default <T extends Throwable> |
assertThat(T actual)
Creates a new instance of
. |
default <T> ObjectArrayAssert<T> |
assertThat(T[] actual)
Creates a new instance of
. |
default <T> Object2DArrayAssert<T> |
assertThat(T[][] actual)
Creates a new instance of
. |
default UriAssert |
assertThat(URI actual)
Creates a new instance of
. |
default AbstractUrlAssert<?> |
assertThat(URL actual)
Creates a new instance of
. |
default AbstractThrowableAssert<?,? extends Throwable> |
assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default <T> CollectionAssert<T> |
assertThatCollection(Collection<? extends T> actual)
Creates a new instance of
. |
default <T> AbstractUniversalComparableAssert<?,T> |
assertThatComparable(Comparable<T> actual)
Creates a new instance of
with
standard comparison semantics. |
default ThrowableTypeAssert<Exception> |
assertThatException()
Alias for
assertThatExceptionOfType(Class) for Exception. |
default <T extends Throwable> |
assertThatExceptionOfType(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> |
assertThatIllegalArgumentException()
Alias for
assertThatExceptionOfType(Class) for IllegalArgumentException. |
default ThrowableTypeAssert<IllegalStateException> |
assertThatIllegalStateException()
Alias for
assertThatExceptionOfType(Class) for IllegalStateException. |
default ThrowableTypeAssert<IndexOutOfBoundsException> |
assertThatIndexOutOfBoundsException()
Alias for
assertThatExceptionOfType(Class) for IndexOutOfBoundsException. |
default ThrowableTypeAssert<IOException> |
assertThatIOException()
Alias for
assertThatExceptionOfType(Class) for IOException. |
default <ELEMENT> IterableAssert<ELEMENT> |
assertThatIterable(Iterable<? extends ELEMENT> actual)
Creates a new instance of
. |
default <ELEMENT> IteratorAssert<ELEMENT> |
assertThatIterator(Iterator<? extends ELEMENT> actual)
Creates a new instance of
. |
default <ELEMENT> ListAssert<ELEMENT> |
assertThatList(List<? extends ELEMENT> actual)
Creates a new instance of
. |
default ThrowableTypeAssert<NullPointerException> |
assertThatNullPointerException()
Alias for
assertThatExceptionOfType(Class) for NullPointerException. |
default <T> ObjectAssert<T> |
assertThatObject(T actual)
Creates a new instance of
for any object. |
default ThrowableTypeAssert<ReflectiveOperationException> |
assertThatReflectiveOperationException()
Alias for
assertThatExceptionOfType(Class) for ReflectiveOperationException. |
default ThrowableTypeAssert<RuntimeException> |
assertThatRuntimeException()
Alias for
assertThatExceptionOfType(Class) for RuntimeException. |
default AbstractThrowableAssert<?,? extends Throwable> |
assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Allows to capture and then assert on a
Throwable more easily when used with Java 8 lambdas. |
default AbstractThrowableAssert<?,? extends Throwable> |
assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable,
String description,
Object... args)
Allows to capture and then assert on a
Throwable like assertThatThrownBy(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 assertThat(BigDecimal actual)
BigDecimalAssert.actual - the actual value.default BigIntegerAssert assertThat(BigInteger actual)
BigInteger.actual - the actual value.default BooleanAssert assertThat(boolean actual)
BooleanAssert.actual - the actual value.default BooleanAssert assertThat(Boolean actual)
BooleanAssert.actual - the actual value.default BooleanArrayAssert assertThat(boolean[] actual)
BooleanArrayAssert.actual - the actual value.default Boolean2DArrayAssert assertThat(boolean[][] actual)
Boolean2DArrayAssert.actual - the actual value.default ByteAssert assertThat(byte actual)
ByteAssert.actual - the actual value.default ByteAssert assertThat(Byte actual)
ByteAssert.actual - the actual value.default ByteArrayAssert assertThat(byte[] actual)
ByteArrayAssert.actual - the actual value.default Byte2DArrayAssert assertThat(byte[][] actual)
Byte2DArrayAssert.actual - the actual value.default CharacterAssert assertThat(char actual)
CharacterAssert.actual - the actual value.default CharArrayAssert assertThat(char[] actual)
CharArrayAssert.actual - the actual value.default Char2DArrayAssert assertThat(char[][] actual)
Char2DArrayAssert.actual - the actual value.default CharacterAssert assertThat(Character actual)
CharacterAssert.actual - the actual value.default ClassAssert assertThat(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> assertThat(Collection<? extends T> actual)
CollectionAssert.T - the actual element's type.actual - the actual value.default <T> CollectionAssert<T> assertThatCollection(Collection<? extends T> actual)
CollectionAssert.
Use this over assertThat(Collection) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides assertThat for.
T - the type of elements.actual - the actual value.default <T extends Comparable<? super T>> AbstractComparableAssert<?,T> assertThat(T actual)
GenericComparableAssert with
standard comparison semantics.T - the actual type.actual - the actual value.default <T> AbstractUniversalComparableAssert<?,T> assertThatComparable(Comparable<T> actual)
UniversalComparableAssert with
standard comparison semantics.
Use this over assertThat(Comparable) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides assertThat for.
T - the type of actual.actual - the actual value.default <T> IterableAssert<T> assertThat(Iterable<? extends T> actual)
IterableAssert.T - the actual element's type.actual - the actual value.default <ELEMENT> IterableAssert<ELEMENT> assertThatIterable(Iterable<? extends ELEMENT> actual)
IterableAssert.
Use this over assertThat(Iterable) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides assertThat for.
ELEMENT - the type of elements.actual - the actual value.default <T> IteratorAssert<T> assertThat(Iterator<? extends T> actual)
IteratorAssert.
This is a breaking change in version 3.12.0: this method used to return an IterableAssert.
T - the actual element's type.actual - the actual value.default <ELEMENT> IteratorAssert<ELEMENT> assertThatIterator(Iterator<? extends ELEMENT> actual)
IteratorAssert.
Use this over assertThat(Iterator) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides assertThat for.
ELEMENT - the type of elements.actual - the actual value.default DoubleAssert assertThat(double actual)
DoubleAssert.actual - the actual value.default DoubleAssert assertThat(Double actual)
DoubleAssert.actual - the actual value.default DoubleArrayAssert assertThat(double[] actual)
DoubleArrayAssert.actual - the actual value.default Double2DArrayAssert assertThat(double[][] actual)
Double2DArrayAssert.actual - the actual value.default FileAssert assertThat(File actual)
FileAssert.actual - the actual value.default <RESULT> FutureAssert<RESULT> assertThat(Future<RESULT> actual)
FutureAssert.RESULT - the Future element type.actual - the actual valuedefault InputStreamAssert assertThat(InputStream actual)
InputStreamAssert.actual - the actual value.default FloatAssert assertThat(float actual)
FloatAssert.actual - the actual value.default FloatAssert assertThat(Float actual)
FloatAssert.actual - the actual value.default FloatArrayAssert assertThat(float[] actual)
FloatArrayAssert.actual - the actual value.default Float2DArrayAssert assertThat(float[][] actual)
Float2DArrayAssert.actual - the actual value.default IntegerAssert assertThat(int actual)
IntegerAssert.actual - the actual value.default IntArrayAssert assertThat(int[] actual)
IntArrayAssert.actual - the actual value.default Int2DArrayAssert assertThat(int[][] actual)
Int2DArrayAssert.actual - the actual value.default IntegerAssert assertThat(Integer actual)
IntegerAssert.actual - the actual value.default <T> ListAssert<T> assertThat(List<? extends T> actual)
ListAssert.T - the actual element's type.actual - the actual value.default <ELEMENT> ListAssert<ELEMENT> assertThatList(List<? extends ELEMENT> actual)
ListAssert.
Use this over assertThat(List) in case of ambiguous method resolution when the object under test
implements several interfaces Assertj provides assertThat for.
ELEMENT - the type of elements.actual - the actual value.default LongAssert assertThat(long actual)
LongAssert.actual - the actual value.default LongAssert assertThat(Long actual)
LongAssert.actual - the actual value.default LongArrayAssert assertThat(long[] actual)
LongArrayAssert.actual - the actual value.default Long2DArrayAssert assertThat(long[][] actual)
Long2DArrayAssert.actual - the actual value.default <T> ObjectAssert<T> assertThat(T actual)
ObjectAssert.T - the type of the actual value.actual - the actual value.default <T> ObjectArrayAssert<T> assertThat(T[] actual)
ObjectArrayAssert.T - the type values of the actual array.actual - the actual value.default <T> Object2DArrayAssert<T> assertThat(T[][] actual)
Object2DArrayAssert.T - the type values of the actual array.actual - the actual value.default <K,V> MapAssert<K,V> assertThat(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 assertThat(short actual)
ShortAssert.actual - the actual value.default ShortAssert assertThat(Short actual)
ShortAssert.actual - the actual value.default ShortArrayAssert assertThat(short[] actual)
ShortArrayAssert.actual - the actual value.default Short2DArrayAssert assertThat(short[][] actual)
Short2DArrayAssert.actual - the actual value.default CharSequenceAssert assertThat(CharSequence actual)
CharSequenceAssert.actual - the actual value.default CharSequenceAssert assertThat(StringBuilder actual)
CharSequenceAssert from a StringBuilder.actual - the actual value.default CharSequenceAssert assertThat(StringBuffer actual)
CharSequenceAssert from a StringBuffer.actual - the actual value.default StringAssert assertThat(String actual)
StringAssert.actual - the actual value.default DateAssert assertThat(Date actual)
DateAssert.actual - the actual value.default AtomicBooleanAssert assertThat(AtomicBoolean actual)
AtomicBoolean.actual - the actual value.default AtomicIntegerAssert assertThat(AtomicInteger actual)
AtomicInteger.actual - the actual value.default AtomicIntegerArrayAssert assertThat(AtomicIntegerArray actual)
AtomicIntegerArray.actual - the actual value.default <OBJECT> AtomicIntegerFieldUpdaterAssert<OBJECT> assertThat(AtomicIntegerFieldUpdater<OBJECT> actual)
AtomicIntegerFieldUpdater.OBJECT - the type of the object holding the updatable field.actual - the actual value.default AtomicLongAssert assertThat(AtomicLong actual)
AtomicLong.actual - the actual value.default AtomicLongArrayAssert assertThat(AtomicLongArray actual)
AtomicLongArray.actual - the actual value.default <OBJECT> AtomicLongFieldUpdaterAssert<OBJECT> assertThat(AtomicLongFieldUpdater<OBJECT> actual)
AtomicLongFieldUpdater.OBJECT - the type of the object holding the updatable field.actual - the actual value.default <VALUE> AtomicReferenceAssert<VALUE> assertThat(AtomicReference<VALUE> actual)
AtomicReference.VALUE - the type of object referred to by the AtomicReference.actual - the actual value.default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> assertThat(AtomicReferenceArray<ELEMENT> actual)
AtomicReferenceArray.ELEMENT - the type of object referred to by the AtomicReferenceArray.actual - the actual value.default <FIELD,OBJECT> AtomicReferenceFieldUpdaterAssert<FIELD,OBJECT> assertThat(AtomicReferenceFieldUpdater<OBJECT,FIELD> actual)
AtomicReferenceFieldUpdater.FIELD - the type of the field which gets updated by the AtomicReferenceFieldUpdater.OBJECT - the type of the object holding the updatable field.actual - the actual value.default <VALUE> AtomicMarkableReferenceAssert<VALUE> assertThat(AtomicMarkableReference<VALUE> actual)
AtomicMarkableReference.VALUE - The type of object referred to by this referenceactual - the actual value.default <VALUE> AtomicStampedReferenceAssert<VALUE> assertThat(AtomicStampedReference<VALUE> actual)
AtomicStampedReference.VALUE - The type of object referred to by this referenceactual - the actual value.default <T extends Throwable> ThrowableAssert<T> assertThat(T actual)
ThrowableAssert.T - the type of the actual throwable.actual - the actual value.default AbstractThrowableAssert<?,? extends Throwable> assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable)
Throwable more easily when used with Java 8 lambdas.
Java 8 example :
@Test
default void testException() {
SoftAssertions softly = new SoftAssertions();
softly.assertThatThrownBy(() -> { throw new Exception("boom!"); }).isInstanceOf(Exception.class)
.hasMessageContaining("boom");
}
Java 7 example :
SoftAssertions softly = new SoftAssertions();
softly.assertThatThrownBy(new ThrowingCallable() {
@Override
default Void call() throws Exception {
throw new Exception("boom!");
}
}).isInstanceOf(Exception.class)
.hasMessageContaining("boom");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> assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable, String description, Object... args)
Throwable like assertThatThrownBy(ThrowingCallable) but this method
let you set the assertion description the same way you do with as(String, Object...).
Example:
@Test
default void testException() {
SoftAssertions softly = new SoftAssertions();
// if this assertion failed (but it doesn't), the error message would start with [Test explosive code]
softly.assertThatThrownBy(() -> { 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.assertThatThrownBy(() -> {}).as("display me")
.isInstanceOf(Exception.class);
// assertion will fail AND "display me" will appear in the error message
softly.assertThatThrownBy(() -> {}, "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> assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable)
Throwable more easily when used with Java 8 lambdas.
Example :
ThrowingCallable callable = () -> {
throw new Exception("boom!");
};
// assertion succeeds
assertThatCode(callable).isInstanceOf(Exception.class)
.hasMessageContaining("boom");
// assertion fails
assertThatCode(callable).doesNotThrowAnyException();
If the provided ThrowableAssert.ThrowingCallable does not validate against next assertions, an error is immediately raised,
in that case the test description provided with as(String, Object...) is not honored.assertThatCode(ThrowableAssert.ThrowingCallable) as shown below.
ThrowingCallable doNothing = () -> {
// do nothing
};
// assertion fails and "display me" appears in the assertion error
assertThatCode(doNothing).as("display me")
.isInstanceOf(Exception.class);
// assertion will fail AND "display me" will appear in the error
Throwable thrown = catchThrowable(doNothing);
assertThatCode(thrown).as("display me")
.isInstanceOf(Exception.class);
This method was not named assertThat 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> assertThatObject(T actual)
ObjectAssert for any object.
This overload is useful, when an overloaded method of assertThat(...) takes precedence over the generic assertThat(Object).
Example:
Cast necessary becauseassertThat(List) "forgets" actual type:
assertThat(new LinkedList<>(asList("abc"))).matches(list -> ((Deque<String>) list).getFirst().equals("abc"));
No cast needed, but also no additional list assertions:
assertThatObject(new LinkedList<>(asList("abc"))).matches(list -> list.getFirst().equals("abc")); T - the type of the actual value.actual - the actual value.default UriAssert assertThat(URI actual)
UriAssert.actual - the actual value.default AbstractUrlAssert<?> assertThat(URL actual)
UrlAssert.actual - the actual value.default <T extends Throwable> ThrowableTypeAssert<T> assertThatExceptionOfType(Class<T> throwableType)
throwingCallable
which allows to chain assertions on the thrown exception.
Example:
softly.assertThatExceptionOfType(IOException.class)
.isThrownBy(() -> { throw new IOException("boom!"); })
.withMessage("boom!");
This method is more or less the same of #assertThatThrownBy(ThrowingCallable) but in a more natural way.T - the Throwable type.throwableType - the Throwable type class.ThrowableTypeAssert.default ThrowableTypeAssert<RuntimeException> assertThatRuntimeException()
assertThatExceptionOfType(Class) for RuntimeException.ThrowableTypeAssert.default ThrowableTypeAssert<NullPointerException> assertThatNullPointerException()
assertThatExceptionOfType(Class) for NullPointerException.ThrowableTypeAssert.default ThrowableTypeAssert<IllegalArgumentException> assertThatIllegalArgumentException()
assertThatExceptionOfType(Class) for IllegalArgumentException.ThrowableTypeAssert.default ThrowableTypeAssert<IOException> assertThatIOException()
assertThatExceptionOfType(Class) for IOException.ThrowableTypeAssert.default ThrowableTypeAssert<IllegalStateException> assertThatIllegalStateException()
assertThatExceptionOfType(Class) for IllegalStateException.ThrowableTypeAssert.default ThrowableTypeAssert<Exception> assertThatException()
assertThatExceptionOfType(Class) for Exception.ThrowableTypeAssert.default ThrowableTypeAssert<ReflectiveOperationException> assertThatReflectiveOperationException()
assertThatExceptionOfType(Class) for ReflectiveOperationException.ThrowableTypeAssert.default ThrowableTypeAssert<IndexOutOfBoundsException> assertThatIndexOutOfBoundsException()
assertThatExceptionOfType(Class) for IndexOutOfBoundsException.ThrowableTypeAssert.Copyright © 2025. All rights reserved.