public function testPaginateWhenPageIsSet() { $_GET['page'] = 7; $this->assertEquals(true, $this->object->paginate()); $this->assertEquals(7, $this->object->page()); }