@Override
    public final void afterAll(ExtensionContext context) throws Exception {
        if (!runForEachTest()) {
            after(context);
        }
    }
A method that should be run at the end of a test lifecycle. If {@link #runForEachTest()}
returns {@code false}, this is run once after all tests, otherwise it is run after each test
method.
junit5/src/main/java/com/linecorp/armeria/testing/junit5/common/AbstractAllOrEachExtension.java