protected function EventDataCollectorTest::setUp

File

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

Class

EventDataCollectorTest

Namespace

Symfony\Component\HttpKernel\Tests\DataCollector

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