public function testUndefinedProperty() { $this->setExpectedException('\\Stato\\Model\\PropertyMissingException'); $m = new Metaclass(); $m->addProperty('foo'); $m->defineDynamicMethods('getProperty', 'get', '', array('bar')); }
public function testUndefinedProperty() { $this->setExpectedException('\\Stato\\Model\\PropertyMissingException'); $m = new Metaclass(); $m->addProperty('foo'); $m->defineDynamicMethods('getProperty', 'get', '', array('bar')); }