public function it_can_get_search_results(\AlgoliaSearch\Index $index) { $query = 'this is a testquery'; $index->search($query, [])->shouldBeCalled(); $this->getResults($query); }