public function AutoAliasServicePassTest::testProcessWithMissingParameter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/Compiler/AutoAliasServicePassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\AutoAliasServicePassTest::testProcessWithMissingParameter()
@expectedException \Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
File
- vendor/
symfony/ dependency-injection/ Tests/ Compiler/ AutoAliasServicePassTest.php, line 22
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testProcessWithMissingParameter() {
$container = new ContainerBuilder();
$container
->register('example')
->addTag('auto_alias', array(
'format' => '%non_existing%.example',
));
$pass = new AutoAliasServicePass();
$pass
->process($container);
}