protected function TraceableEventDispatcherTest::setUp

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Debug/TraceableEventDispatcherTest.php, line 28

Class

TraceableEventDispatcherTest

Namespace

Symfony\Component\HttpKernel\Tests\Debug

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');
  }
}