You are here

protected function StreamWrapperManagerTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::setUp()
  2. 9 core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php, line 29

Class

StreamWrapperManagerTest
@coversDefaultClass \Drupal\Core\StreamWrapper\StreamWrapperManager @group File

Namespace

Drupal\KernelTests\Core\StreamWrapper

Code

protected function setUp() : void {
  parent::setUp();
  $this->streamWrapperManager = \Drupal::service('stream_wrapper_manager');
}