You are here

public function CurrencyValidatorTest::testEmptyStringIsValid in Plug 7

File

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

Class

CurrencyValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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