public function DefinitionTest::testGetArgumentShouldCheckBounds in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/DefinitionTest.php \Symfony\Component\DependencyInjection\Tests\DefinitionTest::testGetArgumentShouldCheckBounds()
@expectedException \OutOfBoundsException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ DefinitionTest.php, line 294
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
public function testGetArgumentShouldCheckBounds() {
$def = new Definition('stdClass');
$def
->addArgument('foo');
$def
->getArgument(1);
}