コード例 #1
0
ファイル: MenuTest.php プロジェクト: travisj/zf
 public function testRenderingPartialShouldFailOnInvalidPartialArray()
 {
     $this->_helper->setPartial(array('menu.phtml'));
     try {
         $this->_helper->render();
         $this->fail('invalid $partial should throw Zend_View_Exception');
     } catch (Zend_View_Exception $e) {
     }
 }