### Question:
Sql2o { public Connection open(ConnectionSource connectionSource) { return new Connection(this, connectionSource, false); } Sql2o(String jndiLookup);  Sql2o(String url, String user, String pass);  Sql2o(String url, String user, String pass, Quirks quirks);  Sql2o(DataSource dataSource);  Sql2o(DataSource dataSource, Quirks quirks); Quirks getQuirks(); @Deprecated DataSource getDataSource(); ConnectionSource getConnectionSource(); void setConnectionSource(ConnectionSource connectionSource); Map<String, String> getDefaultColumnMappings(); void setDefaultColumnMappings(Map<String, String> defaultColumnMappings); boolean isDefaultCaseSensitive(); void setDefaultCaseSensitive(boolean defaultCaseSensitive); @Deprecated Query createQuery(String query, boolean returnGeneratedKeys); @Deprecated Query createQuery(String query); Connection open(ConnectionSource connectionSource); Connection open(); @SuppressWarnings("unchecked") V withConnection(StatementRunnableWithResult<V> runnable, Object argument); V withConnection(StatementRunnableWithResult<V> runnable); void withConnection(StatementRunnable runnable); void withConnection(StatementRunnable runnable, Object argument); Connection beginTransaction(int isolationLevel); Connection beginTransaction(ConnectionSource connectionSource, int isolationLevel); Connection beginTransaction(); Connection beginTransaction(ConnectionSource connectionSource); void runInTransaction(StatementRunnable runnable); void runInTransaction(StatementRunnable runnable, Object argument); void runInTransaction(StatementRunnable runnable, Object argument, int isolationLevel); V runInTransaction(StatementRunnableWithResult<V> runnableWithResult); V runInTransaction(StatementRunnableWithResult<V> runnableWithResult, Object argument); @SuppressWarnings("unchecked") V runInTransaction(StatementRunnableWithResult<V> runnableWithResult, Object argument, int isolationLevel);  }### Answer:
@Test public void testBindInIteration() { try (Connection connection = sql2o.open()) { createAndFillUserTable(connection, true); genericTestOnUserData(connection); } }
@Test public void testBatchWithMaxBatchRecords(){ try (Connection connection = sql2o.open()) { createAndFillUserTable(connection, true, 50); genericTestOnUserData(connection); } try (Connection connection = sql2o.open()) { createAndFillUserTable(connection, true, 29); genericTestOnUserData(connection); } }