public function testExceptionFormatTimestampInvalid() { $gdata = new Zend_Gdata(); try { $ts = $gdata->formatTimestamp('nonsense string'); } catch (Zend_Gdata_Exception $e) { $this->assertEquals('Invalid timestamp: nonsense string.', $e->getMessage()); } }