You are here

public function ImageValidatorTest::testValidImage in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/ImageValidatorTest.php, line 67

Class

ImageValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testValidImage() {
  $this->validator
    ->validate($this->image, new Image());
  $this
    ->assertNoViolation();
}