$this->
testAnalyze($productData,
$configFields,
$expected);
error_reporting($oldLevel);
} /**
* @return iterable<string, array{0:array<string, array<string, string|array<int|string, string|array<int|string>>>|int|string|TagCollection>, 1:array<int, array{field: string, tokenize: bool, ranking: int}>, 2:array<int, int|string>}>
*/
public static function analyzeCases(): iterable
{ $tag1 =
new TagEntity();
$tag1->
setId('tag-1'
);
$tag1->
setName('Tag Yellow'
);
$tag2 =
new TagEntity();
$tag2->
setId('tag-2'
);
$tag2->
setName('Tag Pink'
);
$tags =
new TagCollection([$tag1,
$tag2]);
yield 'analyze with tokenize' =>
[ [