You are here

public function FileValidatorTest::testValidFile in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/FileValidatorTest.php, line 82

Class

FileValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidFile() {
  $this->validator
    ->validate($this->path, new File());
  $this
    ->assertNoViolation();
}