/** * @expectedException \RuntimeException */ public function testFileFieldNotWorking() { $f = new FileField(); $f->setData('test'); }