public function ImageValidatorTest::testInvalidMinWidth in Plug 7
@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ ImageValidatorTest.php, line 170
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testInvalidMinWidth() {
$constraint = new Image(array(
'minWidth' => '1abc',
));
$this->validator
->validate($this->image, $constraint);
}