CustomerDefaultPaymentMethodRule example


class CustomerDefaultPaymentMethodRuleTest extends TestCase
{
    private CustomerDefaultPaymentMethodRule $rule;

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

    public function testName(): void
    {
        static::assertSame('customerDefaultPaymentMethod', $this->rule->getName());
    }

    public function testConstraints(): void
    {
        $constraints = $this->rule->getConstraints();

        
Home | Imprint | This part of the site doesn't use cookies.