@Override
    public void afterEach(ExtensionContext context) throws Exception {
        if (sharedHandle == null) {
            throw new IllegalStateException("shared handle was not initialized!");
        }

        this.jdbi = null;
        this.sharedHandle.close();

        if (enableLeakchecker) {
            leakChecker.checkForLeaks();
        }
    }
SQLite Test Support for core tests. Do NOT use this outside the core tests (or tests that use core tests), use the JdbiExtension from the
jdbi3-testing module instead!
core/src/test/java/org/jdbi/v3/core/junit5/SqliteDatabaseExtension.java