/** * @expectedException Zend_Feed_Exception */ public function testAddsEnclosureThrowsExceptionWhenUriIsInvalid() { $entry = new Zend_Feed_Writer_Entry(); $entry->setEnclosure(array('type' => 'audio/mpeg', 'uri' => 'http://', 'length' => '1337')); }