public function FileTest::testMaxSizeCanBeSetAfterInitialization 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::testMaxSizeCanBeSetAfterInitialization()
@dataProvider provideValidSizes
Parameters
int|string $maxSize:
int $bytes:
string $binaryFormat:
File
- vendor/
symfony/ validator/ Tests/ Constraints/ FileTest.php, line 40
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testMaxSizeCanBeSetAfterInitialization($maxSize, $bytes, $binaryFormat) {
$file = new File();
$file->maxSize = $maxSize;
$this
->assertSame($bytes, $file->maxSize);
$this
->assertSame($binaryFormat, $file->binaryFormat);
}