public function testGetCurrentPageOffsetEndOnEndPage() { $this->setAdapterNbResultsAny(90); $this->pagerfanta->setMaxPerPage(20); $this->pagerfanta->setCurrentPage(5); $this->assertSame(90, $this->pagerfanta->getCurrentPageOffsetEnd()); }
public function testGetCurrentPageOffsetEndOnEndPage() { $this->setAdapterNbResultsAny(90); $this->pagerfanta->setMaxPerPage(20); $this->pagerfanta->setCurrentPage(5); $this->assertSame(90, $this->pagerfanta->getCurrentPageOffsetEnd()); }