Example #1
0
 public function testGetNextNullIfLastPage()
 {
     $strategy = $this->getMockStrategy();
     $strategy->method('getCount')->willReturn(3);
     $page = new Page($this->getMockAdapter(), $strategy, 25, 3);
     $this->assertNull($page->getNext());
 }