/**
* @covers \Shopware\Core\Checkout\Cart\Delivery\Struct\DeliveryPositionCollection
*
* @internal
*/
#[Package('checkout')]
class DeliveryPositionCollectionTest extends TestCase
{ public function testCalculateWithMultipleQuantityLineItem(): void
{ $deliveryPositionCollection =
new DeliveryPositionCollection();
$lineItem =
$this->
getLineItem(10, 2
);
/** @var CalculatedPrice $price */
$price =
$lineItem->
getPrice();
$deliveryPositionCollection->
add( new DeliveryPosition( Uuid::
randomHex(),
$lineItem,
$lineItem->
getQuantity(),
$price,