You are here

public function CheckDefinitionValidityPassTest::testProcess in Zircon Profile 8.0

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

File

vendor/symfony/dependency-injection/Tests/Compiler/CheckDefinitionValidityPassTest.php, line 65

Class

CheckDefinitionValidityPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

public function testProcess() {
  $container = new ContainerBuilder();
  $container
    ->register('a', 'class');
  $container
    ->register('b', 'class')
    ->setSynthetic(true)
    ->setPublic(true);
  $container
    ->register('c', 'class')
    ->setAbstract(true);
  $container
    ->register('d', 'class')
    ->setSynthetic(true);
  $this
    ->process($container);
}