function FileUrlGeneratorTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php \Drupal\KernelTests\Core\File\FileUrlGeneratorTest::setUp()
  2. 11.x core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php \Drupal\KernelTests\Core\File\FileUrlGeneratorTest::setUp()

Overrides FileTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php, line 34

Class

FileUrlGeneratorTest
@coversDefaultClass \Drupal\Core\File\FileUrlGenerator

Namespace

Drupal\KernelTests\Core\File

Code

protected function setUp() : void {
    parent::setUp();
    $this->fileUrlGenerator = $this->container
        ->get('file_url_generator');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.