name: CheckArgumentsValidityPassTest class_comment: "# * @author K\xE9vin Dunglas " dependencies: - name: TestCase type: class source: PHPUnit\Framework\TestCase - name: CheckArgumentsValidityPass type: class source: Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass - name: ContainerBuilder type: class source: Symfony\Component\DependencyInjection\ContainerBuilder - name: RuntimeException type: class source: Symfony\Component\DependencyInjection\Exception\RuntimeException properties: [] methods: - name: testException visibility: public parameters: - name: arguments - name: methodCalls comment: "# * @author K\xE9vin Dunglas \n# */\n# class CheckArgumentsValidityPassTest\ \ extends TestCase\n# {\n# public function testProcess()\n# {\n# $container =\ \ new ContainerBuilder();\n# $definition = $container->register('foo');\n# $definition->setArguments([null,\ \ 1, 'a']);\n# $definition->setMethodCalls([\n# ['bar', ['a', 'b']],\n# ['baz',\ \ ['c', 'd']],\n# ]);\n# \n# $pass = new CheckArgumentsValidityPass();\n# $pass->process($container);\n\ # \n# $this->assertEquals([null, 1, 'a'], $container->getDefinition('foo')->getArguments());\n\ # $this->assertEquals([\n# ['bar', ['a', 'b']],\n# ['baz', ['c', 'd']],\n# ],\ \ $container->getDefinition('foo')->getMethodCalls());\n# }\n# \n# /**\n# * @dataProvider\ \ definitionProvider" - name: definitionProvider visibility: public parameters: [] comment: null - name: testNoException visibility: public parameters: [] comment: null traits: - PHPUnit\Framework\TestCase - Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass - Symfony\Component\DependencyInjection\ContainerBuilder - Symfony\Component\DependencyInjection\Exception\RuntimeException interfaces: []