Ejemplo n.º 1
0
 /**
  * Test marking a none existing timeserver as current
  *
  * @return void
  */
 public function testSetUnknownCurrent()
 {
     $server = new Zend_TimeSync();
     try {
         $server->setCurrent('unkown_alias');
         $this->fail('Exception expected because there is no timeserver which we can mark as current');
     } catch (Zend_TimeSync_Exception $e) {
         // success
     }
 }