#[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
):