public function testCreatePreferences()
{
$p = new Horde_Prefs('test', array(self::$prefs, new Horde_Prefs_Stub_Storage('test')));
$p['a'] = 'c';
$p->store();
$this->assertEquals(1, self::$db->selectValue('SELECT COUNT(*) FROM horde_prefs WHERE pref_scope = ?', array('test')));
}