/**
  * @group ZF-9174
  */
 public function testSetDefaultPageRange()
 {
     Zend_Paginator::setConfig(new Zend_Config(array()));
     $paginator = Zend_Paginator::factory(range(1, 10));
     $this->assertEquals(10, $paginator->getPageRange());
     Zend_Paginator::setDefaultPageRange(20);
     $this->assertEquals(20, Zend_Paginator::getDefaultPageRange());
     $paginator = Zend_Paginator::factory(range(1, 10));
     $this->assertEquals(20, $paginator->getPageRange());
     $this->_restorePaginatorDefaults();
 }