public function testSetRawFilePath() { $node = $this->createNode('input', '', array('type' => 'file')); $field = new FileFormField($node); $field->setFilePath(__FILE__); $this->assertEquals(__FILE__, $field->getValue()); }