### Question:
AgileHelper { public static Connection getConnection( String jndiName ) throws DBDatasourceServiceException, SQLException { JndiDatasourceService jndiService = new JndiDatasourceService(); DataSource ds = jndiService.getDataSource( jndiName ); return ds.getConnection(); }  static String getSchemaName(); static String getDatasourceSolutionStorage(); static String getDialect( DatabaseMeta meta, String jndiName ); static String getDialect( DatabaseMeta meta ); static String generateTableName( String filename ); static String getJndiName(); static int getCsvSampleRowSize(); static DatabaseMeta getDatabaseMeta(); static Connection getConnection( String jndiName ); static String getFolderPath( String project ); static String getTmpFolderPath( String project ); static String getProjectMetadataFolder( String project ); static final String PLUGIN_NAME; }### Answer:
@Test public void testGetConnection() throws DBDatasourceServiceException, SQLException { String jndiName = "HSQL"; Connection connection = AgileHelper.getConnection( jndiName ); assertNotNull( connection ); }