public function testOffset() { $snippet = $this->snippetFromMethod(Query::class, 'offset'); $snippet->addLocal('query', $this->query); $snippet->invoke(); $this->assertEquals(2, $this->query->queryObject()['offset']); }