public function testGetsAndSetsView() { $view = new View(); $helper = new Helper\PaginationControl(); $this->assertNull($helper->getView()); $helper->setView($view); $this->assertInstanceOf('Zend\\View\\Renderer\\RendererInterface', $helper->getView()); }
public function testGetsAndSetsView() { $view = new View\View(); $helper = new Helper\PaginationControl(); $this->assertNull($helper->view); $helper->setView($view); $this->assertType('Zend_View_Interface', $helper->view); }