You are here

public function CurrencyValidatorTest::testValidCurrencies in Plug 7

@dataProvider getValidCurrencies

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/CurrencyValidatorTest.php, line 63

Class

CurrencyValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidCurrencies($currency) {
  $this->validator
    ->validate($currency, new Currency());
  $this
    ->assertNoViolation();
}