public function FileBagTest::testFileMustBeAnArrayOrUploadedFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Tests/FileBagTest.php \Symfony\Component\HttpFoundation\Tests\FileBagTest::testFileMustBeAnArrayOrUploadedFile()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ http-foundation/ Tests/ FileBagTest.php, line 28
Class
- FileBagTest
- FileBagTest.
Namespace
Symfony\Component\HttpFoundation\TestsCode
public function testFileMustBeAnArrayOrUploadedFile() {
new FileBag(array(
'file' => 'foo',
));
}