Interface AfterEachMethodAdapter

  • 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 AfterEachMethodAdapter
    extends Extension
    Functional interface for registering an @AfterEach method as a pseudo-extension.
    Since:
    5.0
    • Method Detail

      • invokeAfterEachMethod

        void invokeAfterEachMethod​(ExtensionContext context,
                                   ExtensionRegistry registry)
                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable