protected function YamlFileLoaderTest::setUp

Same name in this branch

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/YamlFileLoaderTest.php, line 21

Class

YamlFileLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

protected function setUp() {
  if (!class_exists('Symfony\\Component\\Config\\FileLocator')) {
    $this
      ->markTestSkipped('The "Config" component is not available');
  }
  if (!class_exists('Symfony\\Component\\Yaml\\Yaml')) {
    $this
      ->markTestSkipped('The "Yaml" component is not available');
  }
}