public function FileTest::testBinaryFormat in Plug 7
@dataProvider provideFormats
Parameters
mixed $maxSize:
bool $guessedFormat:
bool $binaryFormat:
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ FileTest.php, line 83
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);
}