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