예제 #1
0
파일: XMLTest.php 프로젝트: neopan/DB_Table
 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);
 }