示例#1
0
文件: EntryTest.php 项目: travisj/zf
 public function testSetIdThrowsExceptionOnInvalidParameter()
 {
     $entry = new Zend_Feed_Writer_Entry();
     try {
         $entry->setId('');
         $this->fail();
     } catch (Zend_Feed_Exception $e) {
     }
 }