Module org.junit.jupiter.engine
Interface BeforeEachMethodAdapter
- All Superinterfaces:
Extension
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@API(status=INTERNAL,
since="5.0")
public interface BeforeEachMethodAdapter
extends Extension
Functional interface for registering a
@BeforeEach
method
as a pseudo-extension.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
invokeBeforeEachMethod
(ExtensionContext context, ExtensionRegistry registry)
-
Method Details
-
invokeBeforeEachMethod
- Throws:
Throwable
-