public function testAssembleSalesChannelContext(string
$exceptionClass, string
$manipulateOrder = ''
): void
{ if ($exceptionClass !== ''
) { static::
expectException($exceptionClass);
} $orderAddressRepositorySearchResult =
[];
if ($exceptionClass !== AddressNotFoundException::
class) { $orderAddressRepositorySearchResult =
[$this->
getOrderAddress()];
} $orderConverter =
$this->
getOrderConverter( [$this->
getCustomer(false
)],
$orderAddressRepositorySearchResult,
function Dstring
$randomId, string
$salesChannelId, array
$options): SalesChannelContext
{ $expectedOptions =
[ SalesChannelContextService::CURRENCY_ID => 'order-currency-id',
SalesChannelContextService::LANGUAGE_ID => 'order-language-id',
SalesChannelContextService::CUSTOMER_ID => 'customer-id',
SalesChannelContextService::COUNTRY_STATE_ID => 'order-address-country-state-id',