public function DefinitionDecoratorTest::testGetArgumentShouldCheckBounds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/DefinitionDecoratorTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionDecoratorTest::testGetArgumentShouldCheckBounds()
@expectedException \OutOfBoundsException
File
- vendor/
symfony/ dependency-injection/ Tests/ DefinitionDecoratorTest.php, line 135
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testGetArgumentShouldCheckBounds() {
$def = new DefinitionDecorator('foo');
$def
->setArguments(array(
0 => 'foo',
));
$def
->replaceArgument(0, 'foo');
$def
->getArgument(1);
}