You are here

protected function YamlFileLoaderTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php \Drupal\Tests\Core\DependencyInjection\YamlFileLoaderTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php, line 20

Class

YamlFileLoaderTest
@coversDefaultClass \Drupal\Core\DependencyInjection\YamlFileLoader @group DependencyInjection

Namespace

Drupal\Tests\Core\DependencyInjection

Code

protected function setUp() : void {
  parent::setUp();
  FileCacheFactory::setPrefix('example');
}