/**
* @package business-ops
*
* @internal
*
* @covers \Shopware\Core\Checkout\Cart\Rule\CartTotalPurchasePriceRule
*/
class CartTotalPurchasePriceRuleTest extends TestCase
{ public function testItReturnsTheCorrectName(): void
{ static::
assertEquals('cartTotalPurchasePrice',
(new CartTotalPurchasePriceRule())->
getName());
} public function testRulesDoesNotMatchIfScopeNotCartRuleScope(): void
{ $rule =
new CartTotalPurchasePriceRule();
static::
assertFalse($rule->
match($this->
createMock(RuleScope::
class)));
} /**
* @param float[] $prices
*
* @dataProvider provideLineItemTestCases
*/