Beispiel #1
0
 /**
  * Test $_FILES data.
  */
 public function testData()
 {
     $this->assertEquals(null, $this->object->data('name'));
     // Test using an array
     $file = new File($this->data);
     $this->assertEquals('vertical-test.jpg', $file->data('name'));
 }