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 Detail

      • invokeBeforeEachMethod

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