Пример #1
0
 public function setUp()
 {
     parent::setUp();
     if (!class_exists('Horde_Support_Timer')) {
         $this->markTestSkipped('The "Horde_Support" package seems to be missing!');
     }
 }
Пример #2
0
 public function setUp()
 {
     parent::setUp();
     $this->status = array('uidvalidity' => '99', 'uidnext' => '5', 'token' => 'somestamp');
     $this->uids = array(1, 2, 4);
 }
Пример #3
0
 public function setUp()
 {
     parent::setUp();
     $this->horde_cache = new Horde_Cache(new Horde_Cache_Storage_Mock());
     $this->cache = new Horde_Kolab_Storage_Cache($this->horde_cache);
 }
Пример #4
0
 public function setUp()
 {
     parent::setUp();
     $this->_storage = $this->getMock('Horde_Kolab_Storage', array(), array(), '', false, false);
     $this->_connection = $this->getMock('Horde_Kolab_Storage_Driver');
 }