public function FileTest::testBinaryFormat 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::testBinaryFormat()
 
@dataProvider provideFormats
Parameters
mixed $maxSize:
bool $guessedFormat:
bool $binaryFormat:
File
- vendor/
symfony/ validator/ Tests/ Constraints/ FileTest.php, line 128  
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function testBinaryFormat($maxSize, $guessedFormat, $binaryFormat) {
  $file = new File(array(
    'maxSize' => $maxSize,
    'binaryFormat' => $guessedFormat,
  ));
  $this
    ->assertSame($binaryFormat, $file->binaryFormat);
}