protected function ProjectServiceContainer::getThrowsExceptionOnServiceConfigurationService

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/ContainerTest.php, line 543

Class

ProjectServiceContainer

Namespace

Symfony\Component\DependencyInjection\Tests

Code

protected function getThrowsExceptionOnServiceConfigurationService() {
  $this->services['throws_exception_on_service_configuration'] = $instance = new \stdClass();
  throw new \Exception('Something was terribly wrong while trying to configure the service!');
}