/**
* @param array<string> $streamIds
* @param array<string>|null $categoryIds
*/
private function getProductEntity(?array
$streamIds, ?array
$categoryIds): ProductEntity
{ $product =
new ProductEntity();
$product->
setId(Uuid::
randomHex());
$product->
setStreamIds($streamIds);
$product->
setCategoryIds($categoryIds);
return $product;
} private function getSalesChannelContext(): SalesChannelContext
{ $salesChannelEntity =
new SalesChannelEntity();
$salesChannelEntity->
setId('salesChannelId'
);
$salesChannelEntity->
setNavigationCategoryId('navigationCategoryId'
);
$salesChannelEntity->
setServiceCategoryId('serviceCategoryId'
);