You are here

public function FileTest::testInvalideMaxSize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/FileTest.php \Symfony\Component\Validator\Tests\Constraints\FileTest::testInvalideMaxSize()

@dataProvider provideInValidSizes @expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException

Parameters

mixed $maxSize:

File

vendor/symfony/validator/Tests/Constraints/FileTest.php, line 83

Class

FileTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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