Example #1
0
 /**
  * Test that http file is returned.
  */
 public function testCreateHttpFile()
 {
     $test = __DIR__;
     $file = new File();
     $file->setTmpPathname(TestPathProvider::getPath() . '/Fixtures/files/test.txt');
     $this->assertInstanceOf('Symfony\\Component\\HttpFoundation\\File\\File', $file->createHttpFile());
 }