public function ReplaceAliasByActualDefinitionPassTest::testProcessWithInvalidAlias in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/ReplaceAliasByActualDefinitionPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ReplaceAliasByActualDefinitionPassTest::testProcessWithInvalidAlias()
@expectedException \InvalidArgumentException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ ReplaceAliasByActualDefinitionPassTest.php, line 47
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testProcessWithInvalidAlias() {
$container = new ContainerBuilder();
$container
->setAlias('a_alias', 'a');
$this
->process($container);
}