Ejemplo n.º 1
0
 /**
  * Test getting a none existing timeserver
  *
  * @return void
  */
 public function testGetUnknownServer()
 {
     $server = new Zend_TimeSync();
     try {
         $result = $server->getServer('none_existing_server_alias');
         $this->fail('Exception expected, because the requested timeserver does not exist');
     } catch (Zend_TimeSync_Exception $e) {
         // success
     }
 }