$repository,
100
);
$result =
[ 'total' => 1,
'hits' =>
[ ['id' => '809c1844f4734243b6aa04aba860cd45'
],
],
];
$data =
$indexer->
globalData($result,
$context);
static::
assertEquals($result['total'
],
$data['total'
]);
} public function testFetching(): void
{ $connection =
$this->
getConnection();
$indexer =
new MediaAdminSearchIndexer( $connection,
$this->
createMock(IteratorFactory::
class),