/** * Test getting the current timeserver when none is set * * @return void */ public function testGetUnknownCurrent() { $server = new Zend_TimeSync(); try { $result = $server->getCurrent(); $this->fail('Exception expected because there is no current timeserver set'); } catch (Zend_TimeSync_Exception $e) { // success } }