#[Package('business-ops')]
class LineItemInCategoryRuleTest extends TestCase
{ use CartRuleHelperTrait;
private LineItemInCategoryRule
$rule;
protected function setUp(): void
{ $this->rule =
new LineItemInCategoryRule();
} public function testGetName(): void
{ static::
assertSame('cartLineItemInCategory',
$this->rule->
getName());
} public function testGetConstraints(): void
{ $ruleConstraints =
$this->rule->
getConstraints();