public function ResolveInvalidReferencesPassTest::testProcessIgnoreNonExistentServices in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/Tests/Compiler/ResolveInvalidReferencesPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ResolveInvalidReferencesPassTest::testProcessIgnoreNonExistentServices()
File
- vendor/
symfony/ dependency-injection/ Tests/ Compiler/ ResolveInvalidReferencesPassTest.php, line 37
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testProcessIgnoreNonExistentServices() {
$container = new ContainerBuilder();
$def = $container
->register('foo')
->setArguments(array(
new Reference('bar'),
));
$this
->process($container);
$arguments = $def
->getArguments();
$this
->assertEquals('bar', (string) $arguments[0]);
}