public function FileTest::testInvalideMaxSize in Plug 7
@dataProvider provideInValidSizes @expectedException Symfony\Component\Validator\Exception\ConstraintDefinitionException
Parameters
mixed $maxSize:
int $bytes:
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ FileTest.php, line 38
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testInvalideMaxSize($maxSize) {
$file = new File(array(
'maxSize' => $maxSize,
));
}