static JdbiExtension instance() {
        return new JdbiH2Extension();
    }
Jdbi H2 JUnit 5 rule.

Override methods for special case construction:

<pre>{@code
    @RegisterExtension
    public JdbiExtension extension = new JdbiH2Extension() {
        @Override
        protected DataSource createDataSource() {
           ...
        }
    };
}</pre>

Use with {@link org.junit.jupiter.api.extension.ExtendWith}:

<pre>{@code
@ExtendWith(JdbiH2Extension.class)
public class DatabaseTest {
    @Test
    public void testWithJdbi(Jdbi jdbi) {
        ...
    }

    @Test
    public void testWithHandle(Handle handle) {
        ...
    }
}
}</pre>
testing/src/main/java/org/jdbi/v3/testing/junit5/JdbiH2Extension.java