Exemple #1
0
 public function testConfigNoDot()
 {
     $preference = Sabel_Preference::create(new __PrefConfigNoDot());
     $this->assertTrue(is_readable("/tmp/data/preferences/test.xml"));
 }
Exemple #2
0
 public function testUseCustomModelClass()
 {
     $pref = Sabel_Preference::create(new __Preference_Database_Config_CustomModel());
     $pref->setInt("test", 1);
 }
Exemple #3
0
 /**
  * set up
  *
  * @access public
  * @return void
  */
 public function setUp()
 {
     $this->pref = Sabel_Preference::create(new __Preference_Memcache_Config());
 }