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