You are here

public function IbanValidatorTest::testIbansWithUnsupportedCountryCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/IbanValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IbanValidatorTest::testIbansWithUnsupportedCountryCode()

@dataProvider getUnsupportedCountryCodes

File

vendor/symfony/validator/Tests/Constraints/IbanValidatorTest.php, line 387

Class

IbanValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testIbansWithUnsupportedCountryCode($countryCode) {
  $this
    ->assertViolationRaised($countryCode . '260211000000230064016', Iban::NOT_SUPPORTED_COUNTRY_CODE_ERROR);
}