You are here

public function FileBagTest::testFileMustBeAnArrayOrUploadedFile in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Tests

Code

public function testFileMustBeAnArrayOrUploadedFile() {
  new FileBag(array(
    'file' => 'foo',
  ));
}