protected function HttpKernelTest::setUp

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php, line 26

Class

HttpKernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

protected function setUp() {
  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');
  }
}