public function AllValidatorTest::testThrowsExceptionIfNotTraversable in Plug 7
@expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ AllValidatorTest.php, line 42
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testThrowsExceptionIfNotTraversable() {
$this->validator
->validate('foo.barbar', new All(new Range(array(
'min' => 4,
))));
}