/**
  * @todo Implement testEditPropertyList().
  */
 public function testEditPropertyList()
 {
     mysql_query("TRUNCATE TABLE `hs_hr_comp_property`", $this->connection);
     mysql_query("INSERT INTO `hs_hr_comp_property` (`prop_name`,`emp_id`) VALUES ('new Item','1')", $this->connection);
     mysql_query("INSERT INTO `hs_hr_comp_property` (`prop_name`,`emp_id`) VALUES ('new Item 2','10')", $this->connection);
     $prop = new CompProperty();
     $prop->setEditPropIds(array('1', '2'));
     $prop->setEditEmpIds(array('5', '6'));
     $prop->editPropertyList();
     $res = mysql_query("SELECT * FROM `hs_hr_comp_property`", $this->connection);
     $row = mysql_fetch_array($res);
     $this->assertEquals($row['prop_name'], 'new Item');
     $this->assertEquals($row['emp_id'], '5');
     $this->assertEquals($row['prop_id'], '1');
     $row = mysql_fetch_array($res);
     $this->assertEquals($row['prop_name'], 'new Item 2');
     $this->assertEquals($row['emp_id'], '6');
     $this->assertEquals($row['prop_id'], '2');
 }