Esempio n. 1
0
 function testToAndFromXML()
 {
     $first_string = $this->db->toXML();
     $db_obj =& DB_Table_Database::fromXML($first_string, $this->conn);
     $second_string = $db_obj->toXML();
     $this->assertEquals($second_string, $first_string);
 }