예제 #1
0
파일: HeadLinkTest.php 프로젝트: travisj/zf
 public function testOffsetSetThrowsExceptionWithoutArrayArgument()
 {
     try {
         $this->helper->offsetSet(1, 'foo');
         $this->fail('set should raise exception without array argument');
     } catch (Exception $e) {
     }
 }
예제 #2
0
 public function testOffsetSetThrowsExceptionWithoutArrayArgument()
 {
     $this->setExpectedException('Zend\View\Exception\ExceptionInterface');
     $this->helper->offsetSet(1, 'foo');
 }