public function FileTest::testMaxSize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/FileTest.php \Symfony\Component\Validator\Tests\Constraints\FileTest::testMaxSize()
@dataProvider provideValidSizes
Parameters
mixed $maxSize:
int $bytes:
bool $binaryFormat:
File
- vendor/
symfony/ validator/ Tests/ Constraints/ FileTest.php, line 25
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testMaxSize($maxSize, $bytes, $binaryFormat) {
$file = new File(array(
'maxSize' => $maxSize,
));
$this
->assertSame($bytes, $file->maxSize);
$this
->assertSame($binaryFormat, $file->binaryFormat);
}