Module org.junit.jupiter.api
Package org.junit.jupiter.api.extension
Interface InvocationInterceptor.Invocation<T>
- Type Parameters:
T
- the result type
- Enclosing interface:
- InvocationInterceptor
An invocation that returns a result and may throw a
Throwable
.
This interface is not intended to be implemented by clients.
- Since:
- 5.5
-
Method Summary
-
Method Details
-
proceed
Proceed with this invocation.- Returns:
- the result of this invocation; potentially
null
. - Throws:
Throwable
- in case the invocation failed
-
skip
Explicitly skip this invocation.This allows to bypass the check that
proceed()
must be called at least once. The default implementation does nothing.
-