LineItemDimensionWeightRule example


#[Package('business-ops')] class LineItemDimensionWeightRuleTest extends TestCase
{
    use CartRuleHelperTrait;

    private LineItemDimensionWeightRule $rule;

    protected function setUp(): void
    {
        $this->rule = new LineItemDimensionWeightRule();
    }

    public function testGetName(): void
    {
        static::assertSame('cartLineItemDimensionWeight', $this->rule->getName());
    }

    public function testGetConstraints(): void
    {
        $ruleConstraints = $this->rule->getConstraints();

        
Home | Imprint | This part of the site doesn't use cookies.