/** * @expectedException Zend_Feed_Exception */ public function testSetSummaryThrowsExceptionWhenValueExceeds255Chars() { $entry = new Zend_Feed_Writer_Entry(); $entry->setItunesSummary(str_repeat('a', 4001)); }