protected function YamlFileLoaderTest::setUp

Same name in this branch

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php, line 28

Class

YamlFileLoaderTest

Namespace

Symfony\Component\DependencyInjection\Tests\Loader

Code

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