Ejemplo n.º 1
0
 public function testPrependThrowsExceptionWithoutArrayArgument()
 {
     try {
         $this->helper->prepend('foo');
         $this->fail('prepend should raise exception without array argument');
     } catch (Exception $e) {
     }
 }
Ejemplo n.º 2
0
 public function testPrependThrowsExceptionWithoutArrayArgument()
 {
     $this->setExpectedException('Zend\View\Exception\ExceptionInterface');
     $this->helper->prepend('foo');
 }