public function testFormatDate() { $this->assertEquals($this->_dateTime->format(self::DATE_FORMAT_SHORT), $this->_helper->formatDate()); $this->assertEquals($this->_dateTime->format(self::DATETIME_FORMAT_SHORT), $this->_helper->formatDate(null, 'short', true)); $zendDate = new Zend_Date($this->_dateTime->format('U')); $this->assertEquals($zendDate->toString(self::DATETIME_FORMAT_SHORT_ISO), $this->_helper->formatTime($zendDate, 'short', true)); }