public function testOffsetSetThrowsExceptionWithoutArrayArgument() { try { $this->helper->offsetSet(1, 'foo'); $this->fail('set should raise exception without array argument'); } catch (Exception $e) { } }
public function testOffsetSetThrowsExceptionWithoutArrayArgument() { $this->setExpectedException('Zend\View\Exception\ExceptionInterface'); $this->helper->offsetSet(1, 'foo'); }