Symfony\Component\DependencyInjection\Tests\ChildDefinitionTest::testGetArgumentShouldCheckBounds PHP Method

testGetArgumentShouldCheckBounds() public method

    public function testGetArgumentShouldCheckBounds()
    {
        $def = new ChildDefinition('foo');

        $def->setArguments(array(0 => 'foo'));
        $def->replaceArgument(0, 'foo');

        $def->getArgument(1);
    }