### Question:
MysqlUtil { public static final boolean isMysqlReady(String jndi) { Boolean value = dataSourceReadyMap.get(jndi); if ( value == null ) { return false; } else { return value.booleanValue(); } }  static final void init(String database, String username, String password, 
			String server, int maxConn, int minConn, String jndi); static final boolean isMysqlReady(String jndi); static final boolean executeUpdate(String sqlUpdate, String jndi); static final String executeQueryFirstRow(String sqlQuery, String columnName, String jndi); static final Map<String, String> executeQueryFirstRow(String sqlQuery, String jndi); static final ArrayList<Map<String, String>> executeQueryAllRows(String sqlQuery, String jndi); static void destroy();  }### Answer:
@Test public void testConnectToMysql() { boolean success = MysqlUtil.isMysqlReady(JndiContextKey.mysql_billing_db.name()); assertEquals(true, success); }