Exemplo n.º 1
0
 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());
 }
Exemplo n.º 2
0
 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);
 }