@Override
    public Object resolveParameter(ParameterContext parameterContext, ExtensionContext extensionContext) {
        Type type = parameterContext.getParameter().getType();
        if (type == Jdbi.class) {
            return getJdbi();
        } else if (type == Handle.class) {
            return getSharedHandle();
        }
        return null;
    }
Convenience method to attach an extension (such as a SqlObject) to the shared handle.
testing/src/main/java/org/jdbi/v3/testing/junit5/JdbiExtension.java