/** * @test * @expectedException \Apha\Annotations\ReadOnlyException */ public function setEventTypeIsWriteOnce() { $annotation = new EventHandler(); $annotation->setEventType('bar'); $annotation->setEventType('baz'); }
/** * @test * @expectedException \Apha\Annotations\ReadOnlyException */ public function setEventTypeIsWriteOnce() { $annotation = new EventHandler(); $annotation->setEventType('bar'); $annotation->setEventType('baz'); }