public function test_page() { $result = $this->instance->page(2, 10); $this->assertInstanceOf(Vacancy::class, $result); $this->markTestIncomplete('Improve @see self::test_search_for() for more info'); }
private function queryAdvanced($query = '') { return $this->vacancy->order($this->defaultOptions['orderBy'], $this->defaultOptions['order'])->page($this->defaultOptions['page'], $this->defaultOptions['limit'])->searchFor($query)->get()->toArray(); }