} /**
* @dataProvider getLineItemsThatResultInAnEmptyDelivery
*/
public function testLineItemResultInAnEmptyDelivery(LineItemCollection
$lineItems): void
{ $cart =
new Cart('cart-token'
);
$cart->
setLineItems($lineItems);
$deliveries =
(new DeliveryBuilder())->
buildByUsingShippingMethod( $cart,
new ShippingMethodEntity(),
$this->
createMock(SalesChannelContext::
class),
);
static::
assertEquals(0,
$deliveries->
count());
} /**
* @return iterable<array{0: LineItemCollection}>
*/