/**
* @param array<string, array<string, array<string, array<string, array<string, string>>>>> $reviews
*/
private function getProductWithReviews(string
$productId, array
$reviews): SalesChannelProductEntity
{ $product =
new SalesChannelProductEntity();
$product->
setId($productId);
// set reviews
$product->
setTranslated($reviews);
return $product;
} private function getSalesChannelContext(): SalesChannelContext
{ $salesChannelEntity =
new SalesChannelEntity();
$salesChannelEntity->
setId('salesChannelId'
);
return new SalesChannelContext( Context::
createDefaultContext(),