public function testUpdate()
 {
     $this->_org->setParentId($this->_createTree());
     $this->_org->save();
     $this->_org->setCurrency("USD");
     $this->_mapper->update($this->_org);
     $this->assertEquals("USD", $this->_org->getCurrency());
 }
 public function testUpdate()
 {
     // Update
     $this->_org->setParentId($this->_createTree());
     $this->_org->save();
     $this->_org->setSector("2");
     $this->_mapper->update($this->_org);
     // Check update
     $org = \Application\Service\OrgService::getInstance()->load($this->_org->getId());
     $this->assertEquals("2", $org->getSector());
 }