public function testNext() { $this->pager->expects($this->any())->method('getResults')->will($this->returnValue(array())); $this->assertFalse($this->pager->next()); }