You are here

public function ReplaceAliasByActualDefinitionPassTest::testProcessWithInvalidAlias in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Tests/Compiler/ReplaceAliasByActualDefinitionPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\ReplaceAliasByActualDefinitionPassTest::testProcessWithInvalidAlias()

@expectedException \InvalidArgumentException

File

vendor/symfony/dependency-injection/Tests/Compiler/ReplaceAliasByActualDefinitionPassTest.php, line 47

Class

ReplaceAliasByActualDefinitionPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

public function testProcessWithInvalidAlias() {
  $container = new ContainerBuilder();
  $container
    ->setAlias('a_alias', 'a');
  $this
    ->process($container);
}