You are here

protected function FileRepositoryTest::setUp in Drupal 10

File

core/modules/file/tests/src/Kernel/FileRepositoryTest.php, line 39

Class

FileRepositoryTest
Tests the FileRepository.

Namespace

Drupal\Tests\file\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->fileRepository = $this->container
    ->get('file.repository');
  $this->fileSystem = $this->container
    ->get('file_system');
}