public function testMergedHintIsAdded(): void
{ /** @var CustomerEntity|null $customer */
$customer =
$this->
createCustomer();
static::
assertNotNull($customer);
$contextToken = Uuid::
randomHex();
$productId = Uuid::
randomHex();
$context = Context::
createDefaultContext();
$this->
createProductOnDatabase($productId, 'test.123',
$context);
$salesChannelContext =
$this->
getContainer()->
get(SalesChannelContextFactory::
class)->
create( $contextToken,
TestDefaults::SALES_CHANNEL
);
$this->
getContainer()->
get(SalesChannelContextPersister::
class)->
save( $contextToken,
[ 'customerId' =>
$customer->
getId(),
'billingAddressId' => null,
'shippingAddressId' => null,
],