throw $e;
} } /**
* @depends testIndexing
*/
public function testCalculator(IdsCollection
$ids): void
{ try { $cases =
$this->
calculationProvider($ids);
$default =
$this->
getContainer()->
get(SalesChannelContextFactory::
class) ->
create(Uuid::
randomHex(), TestDefaults::SALES_CHANNEL
);
$currency =
$this->
getContainer()->
get(SalesChannelContextFactory::
class) ->
create(Uuid::
randomHex(), TestDefaults::SALES_CHANNEL,
['currencyId' =>
$ids->
get('currency'
)]);
$contexts =
[ Defaults::CURRENCY =>
$default,
$ids->
get('currency'
) =>
$currency,
];