/** * Test for setTimestampFailed */ public function testSetTimestampFailed() { try { $date = new Zend_Date_DateObject(); $date->setTimestamp("notimestamp"); $this->fail("exception expected"); } catch (Zend_Date_Exception $e) { // success } }