Exemple #1
0
 public function testRendersWithPartial()
 {
     $view = new View\Renderer\PhpRenderer();
     $view->resolver()->addPath(__DIR__ . '/_files/scripts');
     Helper\PaginationControl::setDefaultViewPartial('partial.phtml');
     $this->paginator->setView($view);
     $string = $this->paginator->__toString();
     $this->assertEquals('partial rendered successfully', $string);
 }