/** * @expectedException \InvalidArgumentException */ public function testGetPropertyByNameNotExists() { $definition = new Definition('Class1'); $definition->getPropertyByName('propertyName'); }
/** * @expectedException \InvalidArgumentException */ public function testGetPropertyByNameNotExists() { $definition = new Definition('Class1'); $definition->getPropertyByName('propertyName'); }