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\UnitCode
public function testGetSecurityCodeLength() {
$this
->assertEquals($this->definition['security_code_length'], $this->type
->getSecurityCodeLength(), 'Credit card type security code length matches.');
}