You are here

public function CreditCardTypeTest::testGetSecurityCodeLength in Commerce Core 8.2

@covers ::getSecurityCodeLength

File

modules/payment/tests/src/Unit/CreditCardTypeTest.php, line 77

Class

CreditCardTypeTest
@coversDefaultClass \Drupal\commerce_payment\CreditCardType @group commerce

Namespace

Drupal\Tests\commerce_payment\Unit

Code

public function testGetSecurityCodeLength() {
  $this
    ->assertEquals($this->definition['security_code_length'], $this->type
    ->getSecurityCodeLength(), 'Credit card type security code length matches.');
}