/** * @expectedException \InvalidArgumentException */ public function testGetConstantByNameShouldThrowException() { $definition = new Definition('Class1'); $definition->getConstantByName('X'); }
/** * @expectedException \InvalidArgumentException */ public function testGetConstantByNameShouldThrowException() { $definition = new Definition('Class1'); $definition->getConstantByName('X'); }