@expectedException InvalidArgumentException
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/DefinitionDecoratorTest.php, line 76
Class
- DefinitionDecoratorTest
Namespace
Symfony\Component\DependencyInjection\Tests
Code
public function testReplaceArgumentShouldRequireIntegerIndex() {
$def = new DefinitionDecorator('foo');
$def
->replaceArgument('0', 'foo');
}