public function AutoAliasServicePassTest::testProcessWithMissingFormat in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/AutoAliasServicePassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\AutoAliasServicePassTest::testProcessWithMissingFormat()
@expectedException \Symfony\Component\DependencyInjection\Exception\InvalidArgumentException
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ AutoAliasServicePassTest.php, line 27
Class
Namespace
Symfony\Component\DependencyInjection\Tests\CompilerCode
public function testProcessWithMissingFormat() {
$container = new ContainerBuilder();
$container
->register('example')
->addTag('auto_alias', array());
$container
->setParameter('existing', 'mysql');
$pass = new AutoAliasServicePass();
$pass
->process($container);
}