if (Initializer.getDatabase() == Initializer.POSTGRES) {
if (DbHelper.getDatabase() == DbHelper.DB_POSTGRES) {
    public void testGetConnection() throws SQLException {        conn = ConnectionManager.getConnection();        try {            assertNotNull(conn);            String dateQuery = null;            if (Initializer.getDatabase() == Initializer.POSTGRES) {                dateQuery = POSTGRES_DATE_QUERY;            } else {                dateQuery = ORACLE_DATE_QUERY;            }            java.sql.PreparedStatement stmt =                 conn.prepareStatement(dateQuery);            try {                java.sql.ResultSet rs = stmt.executeQuery();                try {                    if (rs.next()) {                        String date = rs.getString(1);                        assertNotNull(date);                    } else {                        fail("Empty result set from sysdate query");                    }                } finally {                    rs.close();                }            } finally {                stmt.close();            }        } finally {            conn.close();        }    }