/** * * @dataProvider pageWithOffsetAndLimitProvider */ public function testPageWithOffsetAndLimit($offset, $limit, $expected) { $this->queryBuilder->offset($offset); $this->queryBuilder->limit($limit); $this->assertEquals($expected, $this->queryBuilder->getPage()); }