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