public function testGetsAndSetsView()
 {
     $this->_paginator->setView(new Zend_View());
     $this->assertType('Zend_View_Interface', $this->_paginator->getView());
 }
Exemple #2
0
 public function testGetsAndSetsView()
 {
     $this->_paginator->setView(new View\PhpRenderer());
     $this->assertInstanceOf('Zend\\View\\Renderer', $this->_paginator->getView());
 }
 public function testGetsAndSetsView()
 {
     $this->_paginator->setView(new Zend_View());
     $this->assertTrue($this->_paginator->getView() instanceof Zend_View_Interface);
 }
Exemple #4
0
 public function testGetsAndSetsView()
 {
     $this->_paginator->setView(new View\View());
     $this->assertType('Zend\\View\\ViewEngine', $this->_paginator->getView());
 }
 public function testGetSetView()
 {
     $this->_restorePaginatorDefaults();
     $this->_paginator->setView(new Zend_View());
     $this->assertType('Zend_View_Interface', $this->_paginator->getView());
 }