public function it_allows_hits_per_page_to_be_set() { $hitsPerPage = 12345; $this->query->setHitsPerPage($hitsPerPage); $this->assertEquals($this->expectedResult(['hitsPerPage' => $hitsPerPage]), $this->query->toArray()); }