You are here

private function CheckExceptionOnInvalidReferenceBehaviorPassTest::process in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php \Symfony\Component\DependencyInjection\Tests\Compiler\CheckExceptionOnInvalidReferenceBehaviorPassTest::process()
2 calls to CheckExceptionOnInvalidReferenceBehaviorPassTest::process()
CheckExceptionOnInvalidReferenceBehaviorPassTest::testProcessThrowsExceptionOnInvalidReference in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php
@expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
CheckExceptionOnInvalidReferenceBehaviorPassTest::testProcessThrowsExceptionOnInvalidReferenceFromInlinedDefinition in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php
@expectedException \Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/Compiler/CheckExceptionOnInvalidReferenceBehaviorPassTest.php, line 65

Class

CheckExceptionOnInvalidReferenceBehaviorPassTest

Namespace

Symfony\Component\DependencyInjection\Tests\Compiler

Code

private function process(ContainerBuilder $container) {
  $pass = new CheckExceptionOnInvalidReferenceBehaviorPass();
  $pass
    ->process($container);
}