yield 'Discount product price' =>
[ 'discount-product-price',
[ 'p1' =>
new ExpectedPrice(90, 90
),
],
];
} private function createCart(): Cart
{ $cart =
new Cart('test'
);
$cart->
setBehavior(new CartBehavior());
$cart->
addState('default-state'
);
return $cart;
} /**
* @param array<string, ExpectedPrice|null> $expectations
*/
private function assertItems(ItemsFacade|CartFacade|LineItemCollection
$scope, array
$expectations): void
{ foreach ($expectations as $key =>
$expected) {