public function testIndexBy() { $this->assertRequestIsCorrect(function (IQueryable $queryable) { return $queryable->indexBy(function ($i) { return $i; }); }, $this->indexByQuery()); }