OrderTrackingCodeRule example


#[Package('business-ops')] class OrderTrackingCodeRuleTest extends TestCase
{
    private OrderTrackingCodeRule $rule;

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

    /** * @dataProvider getRuleTestData * * @param list<string> $trackingCodeData */
    public function testIfMatches(
        OrderTrackingCodeRule $rule,
        array $trackingCodeData,
        bool $expected
    ):
Home | Imprint | This part of the site doesn't use cookies.