示例#1
0
 public function testSetThrowsExceptionWithoutArrayArgument()
 {
     try {
         $this->helper->set('foo');
         $this->fail('set should raise exception without array argument');
     } catch (Exception $e) {
     }
 }
示例#2
0
 public function testSetThrowsExceptionWithoutArrayArgument()
 {
     $this->setExpectedException('Zend\View\Exception\ExceptionInterface');
     $this->helper->set('foo');
 }