use PromotionLineItemTestFixtureBehaviour;
/**
* This test verifies that we have an empty and valid
* list for new objects.
*
* @group promotions
*/
public function testMetaDataItemsEmptyOnNewObject(): void
{ $package =
new DiscountPackage(new LineItemQuantityCollection());
static::
assertEquals(0,
$package->
getMetaData()->
count());
} /**
* This test verifies that we correctly assign the
* provided list of our line item quantity items and
* return it in the getter.
*
* @group promotions
*/