Interface AfterEachMethodAdapter

All Superinterfaces:
org.junit.jupiter.api.extension.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 AfterEachMethodAdapter
extends org.junit.jupiter.api.extension.Extension
Functional interface for registering an @AfterEach method as a pseudo-extension.
Since:
5.0
  • Method Summary

    Modifier and Type Method Description
    void invokeAfterEachMethod​(org.junit.jupiter.api.extension.ExtensionContext context, ExtensionRegistry registry)  
  • Method Details

    • invokeAfterEachMethod

      void invokeAfterEachMethod​(org.junit.jupiter.api.extension.ExtensionContext context, ExtensionRegistry registry) throws java.lang.Throwable
      Throws:
      java.lang.Throwable