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