You are here

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

FileTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function testInvalideMaxSize($maxSize) {
  $file = new File(array(
    'maxSize' => $maxSize,
  ));
}