public static JdbiTestcontainersExtension instance(JdbcDatabaseContainer<?> jdbcDatabaseContainer) {
        TestcontainersDatabaseInformation databaseInformation = TestcontainersDatabaseInformation.forTestcontainerClass(jdbcDatabaseContainer.getClass());

        if (databaseInformation == null) {
            throw new IllegalArgumentException(format("Container class '%s' is unknown!", jdbcDatabaseContainer.getClass().getName()));
        }

        return new JdbiTestcontainersExtension(databaseInformation, jdbcDatabaseContainer);
    }
Create a new {@link JdbiExtension} that uses the supplied {@link JdbcDatabaseContainer} as database. This must be a supported
container instance.

@param jdbcDatabaseContainer A supported {@link JdbcDatabaseContainer} instance.
@return An initialized {@link JdbiExtension} instance that uses the database container.
@throws IllegalArgumentException If the provided container class is not supported.
testcontainers/src/main/java/org/jdbi/v3/testing/junit5/tc/JdbiTestcontainersExtension.java