Package org.junit.jupiter.api.function
@NullMarked
package org.junit.jupiter.api.function
Functional interfaces used within JUnit Jupiter.
-
InterfacesClassDescription
Executable
is a functional interface that can be used to implement any generic block of code that potentially throws aThrowable
.ThrowingConsumer<T extends @Nullable Object>ThrowingConsumer
is a functional interface that can be used to implement any generic block of code that consumes an argument and potentially throws aThrowable
.ThrowingSupplier<T extends @Nullable Object>ThrowingSupplier
is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws aThrowable
.