예제 #1
0
 public function testGetCurrentPageOffsetStartWith0NbResults()
 {
     $this->setAdapterNbResultsAny(0);
     $this->pagerfanta->setMaxPerPage(10);
     $this->pagerfanta->setCurrentPage(1);
     $this->assertSame(0, $this->pagerfanta->getCurrentPageOffsetStart());
 }