@Test
    @FeatureJUnit5
    @Description("Ordering of before/after Each methods vs. before/after Scenario methods")
    public void junit5_beforeAfterEach_beforeAfterScenario_execution_order() {
       given().a_test_with_framework_and_JGiven_before_and_after_methods();
       when().the_test_class_is_executed_with_JUnit5();
       then().the_framework_before_method_was_executed_before_jgivens()
               .and().the_framework_after_method_was_executed_after_jgivens();
    }
This test backs the section "Integration into Test Frameworks' Lifecycles" of the documentation
Change the documentation if this test needs to be updated!
jgiven-tests/src/test/java/com/tngtech/jgiven/testframework/LifecycleOrderingTest.java