You are here

public function CurrencyValidatorTest::testNullIsValid in Plug 7

File

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

Class

CurrencyValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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