/**
  * create test preference
  * 
  * @param string $_prefName
  * @return Tinebase_Model_Preference
  */
 protected function _createTestPreference($_prefName)
 {
     $pref = new Tinebase_Model_Preference(array('application_id' => Tinebase_Application::getInstance()->getApplicationByName('Tinebase')->getId(), 'name' => $_prefName, 'value' => 'forced value', 'account_id' => '0', 'account_type' => Tinebase_Acl_Rights::ACCOUNT_TYPE_ANYONE, 'type' => Tinebase_Model_Preference::TYPE_FORCED));
     $pref = $this->_instance->create($pref);
     return $pref;
 }