CodeExplorer OrderDeliveryStatusRule example
class OrderDeliveryStatusRuleTest extends TestCase
{ private OrderDeliveryStatusRule
$rule;
protected function setUp(): void
{ $this->rule =
new OrderDeliveryStatusRule();
} public function testName(): void
{ static::
assertSame('orderDeliveryStatus',
$this->rule->
getName());
} public function testConstraints(): void
{ $constraints =
$this->rule->
getConstraints();