Module org.junit.jupiter.api
Package org.junit.jupiter.api.function
package org.junit.jupiter.api.function
Functional interfaces used within JUnit Jupiter.
-
ClassDescription
Executable
is a functional interface that can be used to implement any generic block of code that potentially throws aThrowable
.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
is a functional interface that can be used to implement any generic block of code that returns an object and potentially throws aThrowable
.