You are here

protected function StreamWrapperManagerTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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');
}