protected function ContainerAwareHttpKernelTest::setUp

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/DependencyInjection/ContainerAwareHttpKernelTest.php, line 22

Class

ContainerAwareHttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests\DependencyInjection

Code

protected function setUp() {
  if (!class_exists('Symfony\\Component\\DependencyInjection\\Container')) {
    $this
      ->markTestSkipped('The "DependencyInjection" component is not available');
  }
  if (!class_exists('Symfony\\Component\\EventDispatcher\\EventDispatcher')) {
    $this
      ->markTestSkipped('The "EventDispatcher" component is not available');
  }
  if (!class_exists('Symfony\\Component\\HttpFoundation\\Request')) {
    $this
      ->markTestSkipped('The "HttpFoundation" component is not available');
  }
}