/** * @expectedException \RuntimeException */ public function testTimeFieldNotWorking() { $t = new TimeField(); $t->setData('test'); }