'salesChannelId' =>
$this->
getSalesChannelId(),
'salesChannelDomainId' =>
$this->
getSalesChannelDomainId(),
'generateByCronjob' => false,
'currencyId' => Defaults::CURRENCY,
],
],
$this->context
);
$criteria =
new Criteria([$id]);
$criteria->
addAssociation('productStream'
);
$entity =
$this->repository->
search($criteria,
$this->context
)->
get($id);
static::
assertNotNull($entity->
getProductStream());
} public function testFetchSalesChannel(): void
{ $id = Uuid::
randomHex();
$this->repository->
upsert([ [ 'id' =>
$id,
'fileName' => 'Testexport',
'accessKey' => Uuid::
randomHex(),
'encoding' => ProductExportEntity::ENCODING_UTF8,