/** * @group ZF-4878 */ public function testCanUseObjectForScrollingStyle() { $all = new Paginator\ScrollingStyle\All(); try { $output = $this->_viewHelper->__invoke($this->_paginator, $all, 'testPagination.phtml'); } catch (\Exception $e) { $this->fail('Could not use object for sliding style'); } $this->assertContains('page count (11) equals pages in range (11)', $output, $output); }